pub struct ValidPacket {
pub header: ValidPacketHeader,
pub buffer_index: u32,
pub stream_lifetime_ordinal: u64,
pub start_offset: u32,
pub valid_length_bytes: u32,
pub timestamp_ish: Option<u64>,
pub start_access_unit: bool,
pub known_end_access_unit: bool,
}
Fields§
§header: ValidPacketHeader
§buffer_index: u32
§stream_lifetime_ordinal: u64
§start_offset: u32
§valid_length_bytes: u32
§timestamp_ish: Option<u64>
§start_access_unit: bool
§known_end_access_unit: bool
Trait Implementations§
Source§impl Clone for ValidPacket
impl Clone for ValidPacket
Source§fn clone(&self) -> ValidPacket
fn clone(&self) -> ValidPacket
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 ValidPacket
impl Debug for ValidPacket
Source§impl From<ValidPacket> for Packet
impl From<ValidPacket> for Packet
Source§fn from(src: ValidPacket) -> Packet
fn from(src: ValidPacket) -> Packet
Converts to this type from the input type.
Source§impl PartialEq for ValidPacket
impl PartialEq for ValidPacket
Source§impl TryFrom<Packet> for ValidPacket
impl TryFrom<Packet> for ValidPacket
impl Copy for ValidPacket
impl StructuralPartialEq for ValidPacket
Auto Trait Implementations§
impl Freeze for ValidPacket
impl RefUnwindSafe for ValidPacket
impl Send for ValidPacket
impl Sync for ValidPacket
impl Unpin for ValidPacket
impl UnwindSafe for ValidPacket
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)