Struct comfy_wgpu::kira::dsp::Frame
pub struct Frame {
pub left: f32,
pub right: f32,
}Expand description
A stereo audio sample.
Fields§
§left: f32The sample for the left channel.
right: f32The sample for the right channel.
Implementations§
Trait Implementations§
§impl AddAssign<Frame> for Frame
impl AddAssign<Frame> for Frame
§fn add_assign(&mut self, rhs: Frame)
fn add_assign(&mut self, rhs: Frame)
Performs the
+= operation. Read more§impl DivAssign<f32> for Frame
impl DivAssign<f32> for Frame
§fn div_assign(&mut self, rhs: f32)
fn div_assign(&mut self, rhs: f32)
Performs the
/= operation. Read more§impl MulAssign<f32> for Frame
impl MulAssign<f32> for Frame
§fn mul_assign(&mut self, rhs: f32)
fn mul_assign(&mut self, rhs: f32)
Performs the
*= operation. Read more§impl SubAssign<Frame> for Frame
impl SubAssign<Frame> for Frame
§fn sub_assign(&mut self, rhs: Frame)
fn sub_assign(&mut self, rhs: Frame)
Performs the
-= operation. Read moreimpl Copy for Frame
impl StructuralPartialEq for Frame
Auto Trait Implementations§
impl RefUnwindSafe for Frame
impl Send for Frame
impl Sync for Frame
impl Unpin for Frame
impl UnwindSafe for Frame
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