Struct cubeb::StereoFrame
source · pub struct StereoFrame<T> {
pub l: T,
pub r: T,
}
Expand description
A stereo frame.
Fields§
§l: T
Left channel
r: T
Right channel
Trait Implementations§
source§impl<T: Clone> Clone for StereoFrame<T>
impl<T: Clone> Clone for StereoFrame<T>
source§fn clone(&self) -> StereoFrame<T>
fn clone(&self) -> StereoFrame<T>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<T: Debug> Debug for StereoFrame<T>
impl<T: Debug> Debug for StereoFrame<T>
source§impl<T: PartialEq> PartialEq for StereoFrame<T>
impl<T: PartialEq> PartialEq for StereoFrame<T>
source§fn eq(&self, other: &StereoFrame<T>) -> bool
fn eq(&self, other: &StereoFrame<T>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<T: Copy> Copy for StereoFrame<T>
impl<T: Eq> Eq for StereoFrame<T>
impl<T> Frame for StereoFrame<T>
impl<T> StructuralEq for StereoFrame<T>
impl<T> StructuralPartialEq for StereoFrame<T>
Auto Trait Implementations§
impl<T> RefUnwindSafe for StereoFrame<T>where
T: RefUnwindSafe,
impl<T> Send for StereoFrame<T>where
T: Send,
impl<T> Sync for StereoFrame<T>where
T: Sync,
impl<T> Unpin for StereoFrame<T>where
T: Unpin,
impl<T> UnwindSafe for StereoFrame<T>where
T: UnwindSafe,
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