pub enum KnownTypes {
WebM,
MP4,
Ogg,
}Variants§
Implementations§
Source§impl KnownTypes
impl KnownTypes
pub fn maybe_from(s: &str) -> Option<KnownTypes>
Trait Implementations§
Source§impl Clone for KnownTypes
impl Clone for KnownTypes
Source§fn clone(&self) -> KnownTypes
fn clone(&self) -> KnownTypes
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for KnownTypes
impl Debug for KnownTypes
Source§impl PartialEq for KnownTypes
impl PartialEq for KnownTypes
impl Copy for KnownTypes
impl StructuralPartialEq for KnownTypes
Auto Trait Implementations§
impl Freeze for KnownTypes
impl RefUnwindSafe for KnownTypes
impl Send for KnownTypes
impl Sync for KnownTypes
impl Unpin for KnownTypes
impl UnwindSafe for KnownTypes
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