pub enum SampleClass {
UnsignedInteger,
SignedInteger,
FloatingPoint,
}Expand description
The numeric class carried by a sample’s stored bit pattern.
Variants§
UnsignedInteger
An unsigned integer sample.
SignedInteger
A two’s-complement signed integer sample.
FloatingPoint
An IEEE-style floating-point storage domain.
This identifies storage only. Numeric behavior is not defined until the floating-sample contract milestone.
Trait Implementations§
Source§impl Clone for SampleClass
impl Clone for SampleClass
impl Copy for SampleClass
Source§impl Debug for SampleClass
impl Debug for SampleClass
impl Eq for SampleClass
Source§impl Hash for SampleClass
impl Hash for SampleClass
Source§impl PartialEq for SampleClass
impl PartialEq for SampleClass
impl StructuralPartialEq for SampleClass
Auto Trait Implementations§
impl Freeze for SampleClass
impl RefUnwindSafe for SampleClass
impl Send for SampleClass
impl Sync for SampleClass
impl Unpin for SampleClass
impl UnsafeUnpin for SampleClass
impl UnwindSafe for SampleClass
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