Struct gstreamer::TypeFind [−][src]
#[repr(C)]pub struct TypeFind<'a>(_, _);
Methods
impl<'a> TypeFind<'a>
[src]
impl<'a> TypeFind<'a>
pub fn register<'b, 'c, 'd, P: Into<Option<&'b Plugin>>, R: Into<Option<&'c str>>, S: Into<Option<&'d Caps>>, F>(
plugin: P,
name: &str,
rank: u32,
extensions: R,
possible_caps: S,
func: F
) -> bool where
F: Fn(&mut TypeFind) + Send + Sync + 'static,
[src]
pub fn register<'b, 'c, 'd, P: Into<Option<&'b Plugin>>, R: Into<Option<&'c str>>, S: Into<Option<&'d Caps>>, F>(
plugin: P,
name: &str,
rank: u32,
extensions: R,
possible_caps: S,
func: F
) -> bool where
F: Fn(&mut TypeFind) + Send + Sync + 'static,
pub fn peek(&mut self, offset: i64, size: u32) -> Option<&[u8]>
[src]
pub fn peek(&mut self, offset: i64, size: u32) -> Option<&[u8]>
pub fn suggest(&mut self, probability: TypeFindProbability, caps: &Caps)
[src]
pub fn suggest(&mut self, probability: TypeFindProbability, caps: &Caps)