pub struct GStreamerRegistryScanner {
supported_mime_types: HashSet<&'static str>,
supported_codecs: HashSet<&'static str>,
}
Fields§
§supported_mime_types: HashSet<&'static str>
§supported_codecs: HashSet<&'static str>
Implementations§
source§impl GStreamerRegistryScanner
impl GStreamerRegistryScanner
fn new() -> GStreamerRegistryScanner
pub fn is_container_type_supported(&self, container_type: &str) -> bool
fn is_codec_supported(&self, codec: &str) -> bool
pub fn are_all_codecs_supported(&self, codecs: &Vec<&str>) -> bool
fn initialize(&mut self)
Auto Trait Implementations§
impl Freeze for GStreamerRegistryScanner
impl RefUnwindSafe for GStreamerRegistryScanner
impl Send for GStreamerRegistryScanner
impl Sync for GStreamerRegistryScanner
impl Unpin for GStreamerRegistryScanner
impl UnwindSafe for GStreamerRegistryScanner
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more