pub struct BitsPerComponent(pub usize);
Expand description
Number of bits per component.
Tuple Fields§
§0: usize
Trait Implementations§
Source§impl Clone for BitsPerComponent
impl Clone for BitsPerComponent
Source§fn clone(&self) -> BitsPerComponent
fn clone(&self) -> BitsPerComponent
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for BitsPerComponent
impl Debug for BitsPerComponent
Source§impl PartialEq for BitsPerComponent
impl PartialEq for BitsPerComponent
impl Copy for BitsPerComponent
impl Eq for BitsPerComponent
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 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