Struct alto::Stereo [−][src]
#[repr(C)]pub struct Stereo<S: Copy> { pub left: S, pub right: S, }
Fields
left: S
right: S
Trait Implementations
impl<S: Copy + Copy> Copy for Stereo<S>
[src]
impl<S: Copy + Copy> Copy for Stereo<S>
impl<S: Clone + Copy> Clone for Stereo<S>
[src]
impl<S: Clone + Copy> Clone for Stereo<S>
fn clone(&self) -> Stereo<S>
[src]
fn clone(&self) -> Stereo<S>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl<S: PartialEq + Copy> PartialEq for Stereo<S>
[src]
impl<S: PartialEq + Copy> PartialEq for Stereo<S>
fn eq(&self, other: &Stereo<S>) -> bool
[src]
fn eq(&self, other: &Stereo<S>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Stereo<S>) -> bool
[src]
fn ne(&self, other: &Stereo<S>) -> bool
This method tests for !=
.
impl<S: Eq + Copy> Eq for Stereo<S>
[src]
impl<S: Eq + Copy> Eq for Stereo<S>
impl<S: Hash + Copy> Hash for Stereo<S>
[src]
impl<S: Hash + Copy> Hash for Stereo<S>
fn hash<__HS: Hasher>(&self, state: &mut __HS)
[src]
fn hash<__HS: Hasher>(&self, state: &mut __HS)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl<S: Debug + Copy> Debug for Stereo<S>
[src]
impl<S: Debug + Copy> Debug for Stereo<S>
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl SampleFrame for Stereo<u8>
[src]
impl SampleFrame for Stereo<u8>
type Sample = u8
Underlying sample type.
fn len() -> usize
[src]
fn len() -> usize
Length of the frame in samples.
fn format() -> Format
[src]
fn format() -> Format
The exact format described by this struct.
impl SampleFrame for Stereo<i16>
[src]
impl SampleFrame for Stereo<i16>
type Sample = i16
Underlying sample type.
fn len() -> usize
[src]
fn len() -> usize
Length of the frame in samples.
fn format() -> Format
[src]
fn format() -> Format
The exact format described by this struct.
impl SampleFrame for Stereo<f32>
[src]
impl SampleFrame for Stereo<f32>
type Sample = f32
Underlying sample type.
fn len() -> usize
[src]
fn len() -> usize
Length of the frame in samples.
fn format() -> Format
[src]
fn format() -> Format
The exact format described by this struct.
impl SampleFrame for Stereo<f64>
[src]
impl SampleFrame for Stereo<f64>
type Sample = f64
Underlying sample type.
fn len() -> usize
[src]
fn len() -> usize
Length of the frame in samples.
fn format() -> Format
[src]
fn format() -> Format
The exact format described by this struct.
impl SampleFrame for Stereo<ALawSample>
[src]
impl SampleFrame for Stereo<ALawSample>
type Sample = ALawSample
Underlying sample type.
fn len() -> usize
[src]
fn len() -> usize
Length of the frame in samples.
fn format() -> Format
[src]
fn format() -> Format
The exact format described by this struct.
impl SampleFrame for Stereo<MuLawSample>
[src]
impl SampleFrame for Stereo<MuLawSample>
type Sample = MuLawSample
Underlying sample type.
fn len() -> usize
[src]
fn len() -> usize
Length of the frame in samples.
fn format() -> Format
[src]
fn format() -> Format
The exact format described by this struct.
impl StandardFrame for Stereo<u8>
[src]
impl StandardFrame for Stereo<u8>
impl StandardFrame for Stereo<i16>
[src]
impl StandardFrame for Stereo<i16>
impl LoopbackFrame for Stereo<u8>
[src]
impl LoopbackFrame for Stereo<u8>
fn channels(sl: &ALC_SOFT_loopback) -> AltoResult<ALint>
[src]
fn channels(sl: &ALC_SOFT_loopback) -> AltoResult<ALint>
fn sample_ty(sl: &ALC_SOFT_loopback) -> AltoResult<ALint>
[src]
fn sample_ty(sl: &ALC_SOFT_loopback) -> AltoResult<ALint>
impl LoopbackFrame for Stereo<i16>
[src]
impl LoopbackFrame for Stereo<i16>
fn channels(sl: &ALC_SOFT_loopback) -> AltoResult<ALint>
[src]
fn channels(sl: &ALC_SOFT_loopback) -> AltoResult<ALint>
fn sample_ty(sl: &ALC_SOFT_loopback) -> AltoResult<ALint>
[src]
fn sample_ty(sl: &ALC_SOFT_loopback) -> AltoResult<ALint>
impl LoopbackFrame for Stereo<f32>
[src]
impl LoopbackFrame for Stereo<f32>
fn channels(sl: &ALC_SOFT_loopback) -> AltoResult<ALint>
[src]
fn channels(sl: &ALC_SOFT_loopback) -> AltoResult<ALint>
fn sample_ty(sl: &ALC_SOFT_loopback) -> AltoResult<ALint>
[src]
fn sample_ty(sl: &ALC_SOFT_loopback) -> AltoResult<ALint>