Struct alto::BFormat3D [−][src]
#[repr(C)]pub struct BFormat3D<S: Copy> { pub w: S, pub x: S, pub y: S, pub z: S, }
Fields
w: S
x: S
y: S
z: S
Trait Implementations
impl<S: Copy + Copy> Copy for BFormat3D<S>
[src]
impl<S: Copy + Copy> Copy for BFormat3D<S>
impl<S: Clone + Copy> Clone for BFormat3D<S>
[src]
impl<S: Clone + Copy> Clone for BFormat3D<S>
fn clone(&self) -> BFormat3D<S>
[src]
fn clone(&self) -> BFormat3D<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)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl<S: PartialEq + Copy> PartialEq for BFormat3D<S>
[src]
impl<S: PartialEq + Copy> PartialEq for BFormat3D<S>
fn eq(&self, other: &BFormat3D<S>) -> bool
[src]
fn eq(&self, other: &BFormat3D<S>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &BFormat3D<S>) -> bool
[src]
fn ne(&self, other: &BFormat3D<S>) -> bool
This method tests for !=
.
impl<S: Eq + Copy> Eq for BFormat3D<S>
[src]
impl<S: Eq + Copy> Eq for BFormat3D<S>
impl<S: Hash + Copy> Hash for BFormat3D<S>
[src]
impl<S: Hash + Copy> Hash for BFormat3D<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,
1.3.0
[src]Feeds a slice of this type into the given [Hasher
]. Read more
impl<S: Debug + Copy> Debug for BFormat3D<S>
[src]
impl<S: Debug + Copy> Debug for BFormat3D<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 BFormat3D<u8>
[src]
impl SampleFrame for BFormat3D<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 BFormat3D<i16>
[src]
impl SampleFrame for BFormat3D<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 BFormat3D<f32>
[src]
impl SampleFrame for BFormat3D<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 BFormat3D<MuLawSample>
[src]
impl SampleFrame for BFormat3D<MuLawSample>