pub struct AudioShape {
pub format: FieldTransform<AudioFormat>,
pub channels: FieldTransform<u8>,
pub sample_rate: FieldTransform<u32>,
}Expand description
One output alternative of an audio CapsTransform.
Fields§
§format: FieldTransform<AudioFormat>§channels: FieldTransform<u8>§sample_rate: FieldTransform<u32>Implementations§
Source§impl AudioShape
impl AudioShape
Sourcepub const PASSTHROUGH: Self
pub const PASSTHROUGH: Self
Every field passed through; retarget with the with_* setters.
pub fn with_format(self, t: FieldTransform<AudioFormat>) -> Self
pub fn with_channels(self, t: FieldTransform<u8>) -> Self
pub fn with_sample_rate(self, t: FieldTransform<u32>) -> Self
Trait Implementations§
Source§impl Clone for AudioShape
impl Clone for AudioShape
Source§fn clone(&self) -> AudioShape
fn clone(&self) -> AudioShape
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 moreSource§impl Debug for AudioShape
impl Debug for AudioShape
Source§impl PartialEq for AudioShape
impl PartialEq for AudioShape
impl StructuralPartialEq for AudioShape
Auto Trait Implementations§
impl Freeze for AudioShape
impl RefUnwindSafe for AudioShape
impl Send for AudioShape
impl Sync for AudioShape
impl Unpin for AudioShape
impl UnsafeUnpin for AudioShape
impl UnwindSafe for AudioShape
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