pub struct LegacyAudioTagHeader {
pub sound_format: SoundFormat,
pub sound_rate: SoundRate,
pub sound_size: SoundSize,
pub sound_type: SoundType,
}
Expand description
FLV AudioTagHeader
Defined by:
- Legacy FLV spec, Annex E.4.2.1
Fields§
§sound_format: SoundFormat
The sound format of the audio data. (4 bits)
sound_rate: SoundRate
The sound rate of the audio data. (2 bits)
sound_size: SoundSize
The sound size of the audio data. (1 bit)
sound_type: SoundType
The sound type of the audio data. (1 bit)
Implementations§
Trait Implementations§
Source§impl Clone for LegacyAudioTagHeader
impl Clone for LegacyAudioTagHeader
Source§fn clone(&self) -> LegacyAudioTagHeader
fn clone(&self) -> LegacyAudioTagHeader
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 LegacyAudioTagHeader
impl Debug for LegacyAudioTagHeader
Source§impl PartialEq for LegacyAudioTagHeader
impl PartialEq for LegacyAudioTagHeader
impl StructuralPartialEq for LegacyAudioTagHeader
Auto Trait Implementations§
impl Freeze for LegacyAudioTagHeader
impl RefUnwindSafe for LegacyAudioTagHeader
impl Send for LegacyAudioTagHeader
impl Sync for LegacyAudioTagHeader
impl Unpin for LegacyAudioTagHeader
impl UnwindSafe for LegacyAudioTagHeader
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