Struct id3::frame::MpegLocationLookupTable
source · pub struct MpegLocationLookupTable {
pub frames_between_reference: u16,
pub bytes_between_reference: u32,
pub millis_between_reference: u32,
pub bits_for_bytes: u8,
pub bits_for_millis: u8,
pub references: Vec<MpegLocationLookupTableReference>,
}
Fields§
§frames_between_reference: u16
§bytes_between_reference: u32
Truncated to 24 bits.
millis_between_reference: u32
Truncated to 24 bits.
bits_for_bytes: u8
The number of bits in MpegLocationLookupTableReference::deviate_bytes
to retain.
Must be a multiple of 4.
The sum of bits_for_bytes and bits_for_millis may not exceed 64.
bits_for_millis: u8
The number of bits in MpegLocationLookupTableReference::deviate_millis
to retain.
Must be a multiple of 4.
references: Vec<MpegLocationLookupTableReference>
Trait Implementations§
source§impl Clone for MpegLocationLookupTable
impl Clone for MpegLocationLookupTable
source§fn clone(&self) -> MpegLocationLookupTable
fn clone(&self) -> MpegLocationLookupTable
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 MpegLocationLookupTable
impl Debug for MpegLocationLookupTable
source§impl Display for MpegLocationLookupTable
impl Display for MpegLocationLookupTable
source§impl From<MpegLocationLookupTable> for Frame
impl From<MpegLocationLookupTable> for Frame
source§fn from(c: MpegLocationLookupTable) -> Self
fn from(c: MpegLocationLookupTable) -> Self
Converts to this type from the input type.
source§impl Hash for MpegLocationLookupTable
impl Hash for MpegLocationLookupTable
source§impl Ord for MpegLocationLookupTable
impl Ord for MpegLocationLookupTable
source§fn cmp(&self, other: &MpegLocationLookupTable) -> Ordering
fn cmp(&self, other: &MpegLocationLookupTable) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for MpegLocationLookupTable
impl PartialEq for MpegLocationLookupTable
source§fn eq(&self, other: &MpegLocationLookupTable) -> bool
fn eq(&self, other: &MpegLocationLookupTable) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for MpegLocationLookupTable
impl PartialOrd for MpegLocationLookupTable
source§fn partial_cmp(&self, other: &MpegLocationLookupTable) -> Option<Ordering>
fn partial_cmp(&self, other: &MpegLocationLookupTable) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for MpegLocationLookupTable
impl StructuralPartialEq for MpegLocationLookupTable
Auto Trait Implementations§
impl RefUnwindSafe for MpegLocationLookupTable
impl Send for MpegLocationLookupTable
impl Sync for MpegLocationLookupTable
impl Unpin for MpegLocationLookupTable
impl UnwindSafe for MpegLocationLookupTable
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