pub struct V2ipAudioFormat {
pub sample_rate: u32,
pub channels: u8,
}Expand description
Overrides the sample rate and channel count of a V2IP audio stream.
Zero values mean “use the firmware default”.
Fields§
§sample_rate: u32Sample rate in Hz.
channels: u8Channel count.
Trait Implementations§
Source§impl Clone for V2ipAudioFormat
impl Clone for V2ipAudioFormat
Source§fn clone(&self) -> V2ipAudioFormat
fn clone(&self) -> V2ipAudioFormat
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 V2ipAudioFormat
Source§impl Debug for V2ipAudioFormat
impl Debug for V2ipAudioFormat
Source§impl Default for V2ipAudioFormat
impl Default for V2ipAudioFormat
Source§fn default() -> V2ipAudioFormat
fn default() -> V2ipAudioFormat
Returns the “default value” for a type. Read more
Source§impl Display for V2ipAudioFormat
impl Display for V2ipAudioFormat
impl Eq for V2ipAudioFormat
Source§impl PartialEq for V2ipAudioFormat
impl PartialEq for V2ipAudioFormat
impl StructuralPartialEq for V2ipAudioFormat
Auto Trait Implementations§
impl Freeze for V2ipAudioFormat
impl RefUnwindSafe for V2ipAudioFormat
impl Send for V2ipAudioFormat
impl Sync for V2ipAudioFormat
impl Unpin for V2ipAudioFormat
impl UnsafeUnpin for V2ipAudioFormat
impl UnwindSafe for V2ipAudioFormat
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