Struct fuchsia_audio::format::Format
source · pub struct Format {
pub sample_type: SampleType,
pub frames_per_second: u32,
pub channels: u32,
}
Fields§
§sample_type: SampleType
§frames_per_second: u32
§channels: u32
Implementations§
Trait Implementations§
source§impl From<AudioStreamType> for Format
impl From<AudioStreamType> for Format
source§fn from(value: AudioStreamType) -> Self
fn from(value: AudioStreamType) -> Self
Converts to this type from the input type.
source§impl From<Format> for AudioStreamType
impl From<Format> for AudioStreamType
source§impl PartialEq for Format
impl PartialEq for Format
impl Copy for Format
impl Eq for Format
impl StructuralPartialEq for Format
Auto Trait Implementations§
impl Freeze for Format
impl RefUnwindSafe for Format
impl Send for Format
impl Sync for Format
impl Unpin for Format
impl UnwindSafe for Format
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