pub trait EncoderInput {
// Required methods
fn pitch(&self) -> u32;
fn handle(&mut self) -> *mut c_void;
}
Expand description
If a type implements this trait it means it is a valid input buffer for the encoding API.
pub trait EncoderInput {
// Required methods
fn pitch(&self) -> u32;
fn handle(&mut self) -> *mut c_void;
}
If a type implements this trait it means it is a valid input buffer for the encoding API.