pub struct FourCc(pub [u8; 4]);Expand description
A four-character box or brand identifier.
Compared as bytes, not as text: the specification defines these as four
octets, and some real brands (MA1A) are case-sensitive in a way a
lowercased comparison would lose.
Tuple Fields§
§0: [u8; 4]Implementations§
Trait Implementations§
impl Copy for FourCc
impl Eq for FourCc
impl StructuralPartialEq for FourCc
Auto Trait Implementations§
impl Freeze for FourCc
impl RefUnwindSafe for FourCc
impl Send for FourCc
impl Sync for FourCc
impl Unpin for FourCc
impl UnsafeUnpin for FourCc
impl UnwindSafe for FourCc
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