pub struct OggHeader {
pub codec: Codec,
pub serial: u32,
pub packets: Vec<Vec<u8>>,
pub header_pages: u32,
pub audio_offset: u64,
}Expand description
The parsed Ogg header region: codec, serial, the reassembled header packets, the number of header pages, and where audio begins.
Fields§
§codec: Codec§serial: u32§packets: Vec<Vec<u8>>§header_pages: u32§audio_offset: u64Trait Implementations§
impl Eq for OggHeader
impl StructuralPartialEq for OggHeader
Auto Trait Implementations§
impl Freeze for OggHeader
impl RefUnwindSafe for OggHeader
impl Send for OggHeader
impl Sync for OggHeader
impl Unpin for OggHeader
impl UnsafeUnpin for OggHeader
impl UnwindSafe for OggHeader
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