Struct imageflow_core::ffi::CodecDefinition
[−]
[src]
#[repr(C)]pub struct CodecDefinition { pub codec_id: i64, pub initialize: Option<extern fn(_: *mut ImageflowContext, _: *mut CodecInstance) -> bool>, pub write_frame: Option<extern fn(_: *mut ImageflowContext, _: *mut c_void, _: *mut BitmapBgra, _: *const EncoderHints) -> bool>, // some fields omitted }
Fields
codec_id: i64
initialize: Option<extern fn(_: *mut ImageflowContext, _: *mut CodecInstance) -> bool>
write_frame: Option<extern fn(_: *mut ImageflowContext, _: *mut c_void, _: *mut BitmapBgra, _: *const EncoderHints) -> bool>
Trait Implementations
impl Clone for CodecDefinition[src]
fn clone(&self) -> CodecDefinition
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more
impl Debug for CodecDefinition[src]
impl PartialEq for CodecDefinition[src]
fn eq(&self, __arg_0: &CodecDefinition) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &CodecDefinition) -> bool
This method tests for !=.