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