pub struct AudioTagHeader {
pub sound_format: SoundFormat,
pub sound_rate: SoundRate,
pub sound_size: SoundSize,
pub sound_type: SoundType,
}Expand description
The tag data header part of audio FLV tag data.
Fields§
§sound_format: SoundFormatThe format of sound, 4 bits.
sound_rate: SoundRateThe rate of sound, 2 bits.
sound_size: SoundSizeThe sample size of sound, 1 bit.
sound_type: SoundTypeThe type of sound, 1 bit.
Trait Implementations§
Source§impl Clone for AudioTagHeader
impl Clone for AudioTagHeader
Source§fn clone(&self) -> AudioTagHeader
fn clone(&self) -> AudioTagHeader
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 moreimpl Copy for AudioTagHeader
Source§impl Debug for AudioTagHeader
impl Debug for AudioTagHeader
impl Eq for AudioTagHeader
Source§impl<E> Parser<E, AudioTagHeader> for FlvParser
impl<E> Parser<E, AudioTagHeader> for FlvParser
Source§impl PartialEq for AudioTagHeader
impl PartialEq for AudioTagHeader
impl StructuralPartialEq for AudioTagHeader
Auto Trait Implementations§
impl Freeze for AudioTagHeader
impl RefUnwindSafe for AudioTagHeader
impl Send for AudioTagHeader
impl Sync for AudioTagHeader
impl Unpin for AudioTagHeader
impl UnsafeUnpin for AudioTagHeader
impl UnwindSafe for AudioTagHeader
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