pub struct AdtsHeader {
pub object_type: u8,
pub sf_index: u8,
pub channel_config: u8,
pub frame_length: usize,
pub buffer_fullness: u16,
pub header_length: usize,
pub raw_data_blocks: u8,
}Fields§
§object_type: u8§sf_index: u8§channel_config: u8§frame_length: usize§buffer_fullness: u16§header_length: usize§raw_data_blocks: u8Implementations§
Trait Implementations§
Source§impl Clone for AdtsHeader
impl Clone for AdtsHeader
Source§fn clone(&self) -> AdtsHeader
fn clone(&self) -> AdtsHeader
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 AdtsHeader
impl Debug for AdtsHeader
Source§impl PartialEq for AdtsHeader
impl PartialEq for AdtsHeader
Source§fn eq(&self, other: &AdtsHeader) -> bool
fn eq(&self, other: &AdtsHeader) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for AdtsHeader
impl Eq for AdtsHeader
impl StructuralPartialEq for AdtsHeader
Auto Trait Implementations§
impl Freeze for AdtsHeader
impl RefUnwindSafe for AdtsHeader
impl Send for AdtsHeader
impl Sync for AdtsHeader
impl Unpin for AdtsHeader
impl UnsafeUnpin for AdtsHeader
impl UnwindSafe for AdtsHeader
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§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more