pub struct Ch16(/* private fields */);Expand description
16-bit signed integer (-32_768 to 32_767) channel value
Implementations§
Trait Implementations§
Source§impl AddAssign for Ch16
impl AddAssign for Ch16
Source§fn add_assign(&mut self, rhs: Self)
fn add_assign(&mut self, rhs: Self)
Performs the
+= operation. Read moreSource§impl MulAssign for Ch16
impl MulAssign for Ch16
Source§fn mul_assign(&mut self, rhs: Self)
fn mul_assign(&mut self, rhs: Self)
Performs the
*= operation. Read moreSource§impl Ord for Ch16
impl Ord for Ch16
Source§impl PartialOrd for Ch16
impl PartialOrd for Ch16
Source§impl SubAssign for Ch16
impl SubAssign for Ch16
Source§fn sub_assign(&mut self, rhs: Self)
fn sub_assign(&mut self, rhs: Self)
Performs the
-= operation. Read moreimpl Copy for Ch16
impl Eq for Ch16
impl Pod for Ch16
impl StructuralPartialEq for Ch16
Auto Trait Implementations§
impl Freeze for Ch16
impl RefUnwindSafe for Ch16
impl Send for Ch16
impl Sync for Ch16
impl Unpin for Ch16
impl UnwindSafe for Ch16
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.