pub struct SampleEntry {
pub size: u32,
pub codec: String,
pub data_reference_index: u16,
pub width: Option<u16>,
pub height: Option<u16>,
pub channel_count: Option<u16>,
pub sample_size: Option<u16>,
pub sample_rate: Option<u32>,
}Fields§
§size: u32§codec: String§data_reference_index: u16§width: Option<u16>Video: frame width in pixels
height: Option<u16>Video: frame height in pixels
channel_count: Option<u16>Audio: channel count
sample_size: Option<u16>Audio: bits per sample
sample_rate: Option<u32>Audio: sample rate in Hz (integer part of the 16.16 fixed-point field)
Trait Implementations§
Source§impl Clone for SampleEntry
impl Clone for SampleEntry
Source§fn clone(&self) -> SampleEntry
fn clone(&self) -> SampleEntry
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SampleEntry
impl Debug for SampleEntry
Source§impl<'de> Deserialize<'de> for SampleEntry
impl<'de> Deserialize<'de> for SampleEntry
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for SampleEntry
impl RefUnwindSafe for SampleEntry
impl Send for SampleEntry
impl Sync for SampleEntry
impl Unpin for SampleEntry
impl UnsafeUnpin for SampleEntry
impl UnwindSafe for SampleEntry
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