pub struct AudioDataHeader {
pub sound_format: SoundFormat,
pub sound_rate: SoundRate,
pub sound_size: SoundSize,
pub sound_type: SoundType,
}Fields§
§sound_format: SoundFormat§sound_rate: SoundRate§sound_size: SoundSize§sound_type: SoundTypeTrait Implementations§
Source§impl Clone for AudioDataHeader
impl Clone for AudioDataHeader
Source§fn clone(&self) -> AudioDataHeader
fn clone(&self) -> AudioDataHeader
Returns a duplicate 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 AudioDataHeader
impl Debug for AudioDataHeader
Source§impl From<AudioDataHeader> for u8
impl From<AudioDataHeader> for u8
Source§fn from(h: AudioDataHeader) -> Self
fn from(h: AudioDataHeader) -> Self
Converts to this type from the input type.
Source§impl Hash for AudioDataHeader
impl Hash for AudioDataHeader
Source§impl Ord for AudioDataHeader
impl Ord for AudioDataHeader
Source§fn cmp(&self, other: &AudioDataHeader) -> Ordering
fn cmp(&self, other: &AudioDataHeader) -> 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 AudioDataHeader
impl PartialEq for AudioDataHeader
Source§impl PartialOrd for AudioDataHeader
impl PartialOrd for AudioDataHeader
Source§impl TryFrom<u8> for AudioDataHeader
impl TryFrom<u8> for AudioDataHeader
impl Copy for AudioDataHeader
impl Eq for AudioDataHeader
impl StructuralPartialEq for AudioDataHeader
Auto Trait Implementations§
impl Freeze for AudioDataHeader
impl RefUnwindSafe for AudioDataHeader
impl Send for AudioDataHeader
impl Sync for AudioDataHeader
impl Unpin for AudioDataHeader
impl UnwindSafe for AudioDataHeader
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