#[repr(u8)]pub enum SampleType {
Pcm = 0,
Azimuth = 1,
Inclination = 2,
Radius = 3,
}Variants§
Pcm = 0
Azimuth = 1
The azimuth (or azimuthal angle) is the signed angle measured from the azimuth reference direction to the orthogonal projection of the line segment OP on the reference plane.
Inclination = 2
The inclination (or polar angle) is the angle between the zenith direction and the line segment OP.
Radius = 3
The radius or radial distance is the Euclidean distance from the origin O to P.
Trait Implementations§
Source§impl Clone for SampleType
impl Clone for SampleType
Source§fn clone(&self) -> SampleType
fn clone(&self) -> SampleType
Returns a duplicate 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 Debug for SampleType
impl Debug for SampleType
Source§impl Hash for SampleType
impl Hash for SampleType
Source§impl Ord for SampleType
impl Ord for SampleType
Source§fn cmp(&self, other: &SampleType) -> Ordering
fn cmp(&self, other: &SampleType) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for SampleType
impl PartialEq for SampleType
Source§impl PartialOrd for SampleType
impl PartialOrd for SampleType
impl Copy for SampleType
impl Eq for SampleType
impl StructuralPartialEq for SampleType
Auto Trait Implementations§
impl Freeze for SampleType
impl RefUnwindSafe for SampleType
impl Send for SampleType
impl Sync for SampleType
impl Unpin for SampleType
impl UnwindSafe for SampleType
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