pub struct BitsPerComponent(pub usize);Expand description
Number of bits per component.
Tuple Fields§
§0: usizeTrait Implementations§
Source§impl Clone for BitsPerComponent
impl Clone for BitsPerComponent
Source§fn clone(&self) -> BitsPerComponent
fn clone(&self) -> BitsPerComponent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for BitsPerComponent
Source§impl Debug for BitsPerComponent
impl Debug for BitsPerComponent
impl Eq for BitsPerComponent
Source§impl PartialEq for BitsPerComponent
impl PartialEq for BitsPerComponent
Source§fn eq(&self, other: &BitsPerComponent) -> bool
fn eq(&self, other: &BitsPerComponent) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for BitsPerComponent
Auto Trait Implementations§
impl Freeze for BitsPerComponent
impl RefUnwindSafe for BitsPerComponent
impl Send for BitsPerComponent
impl Sync for BitsPerComponent
impl Unpin for BitsPerComponent
impl UnsafeUnpin for BitsPerComponent
impl UnwindSafe for BitsPerComponent
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