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