pub struct Ch12(/* private fields */);Expand description
12-bit signed integer (-2_048 to 2_047) channel value
Implementations§
Trait Implementations§
Source§impl AddAssign for Ch12
impl AddAssign for Ch12
Source§fn add_assign(&mut self, rhs: Self)
fn add_assign(&mut self, rhs: Self)
Performs the
+= operation. Read moreSource§impl MulAssign for Ch12
impl MulAssign for Ch12
Source§fn mul_assign(&mut self, rhs: Self)
fn mul_assign(&mut self, rhs: Self)
Performs the
*= operation. Read moreSource§impl Ord for Ch12
impl Ord for Ch12
Source§impl PartialOrd for Ch12
impl PartialOrd for Ch12
Source§impl SubAssign for Ch12
impl SubAssign for Ch12
Source§fn sub_assign(&mut self, rhs: Self)
fn sub_assign(&mut self, rhs: Self)
Performs the
-= operation. Read moreimpl Copy for Ch12
impl Eq for Ch12
impl Pod for Ch12
impl StructuralPartialEq for Ch12
Auto Trait Implementations§
impl Freeze for Ch12
impl RefUnwindSafe for Ch12
impl Send for Ch12
impl Sync for Ch12
impl Unpin for Ch12
impl UnwindSafe for Ch12
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
Source§impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
Source§type Bits = T
type Bits = T
Self must have the same layout as the specified Bits except for
the possible invalid bit patterns being checked during
is_valid_bit_pattern.Source§fn is_valid_bit_pattern(_bits: &T) -> bool
fn is_valid_bit_pattern(_bits: &T) -> bool
If this function returns true, then it must be valid to reinterpret
bits
as &Self.