struct BitPostion {
byte: usize,
bit: u8,
}Expand description
The index of a bit in the image buffer.
We do not use a pure usize to avoid overflows on 32-bit targets.
Fields§
§byte: usize§bit: u8[0..8)
Trait Implementations§
Source§impl Clone for BitPostion
impl Clone for BitPostion
Source§fn clone(&self) -> BitPostion
fn clone(&self) -> BitPostion
Returns a duplicate 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 BitPostion
impl Debug for BitPostion
Source§impl PartialEq for BitPostion
impl PartialEq for BitPostion
impl Copy for BitPostion
impl Eq for BitPostion
impl StructuralPartialEq for BitPostion
Auto Trait Implementations§
impl Freeze for BitPostion
impl RefUnwindSafe for BitPostion
impl Send for BitPostion
impl Sync for BitPostion
impl Unpin for BitPostion
impl UnsafeUnpin for BitPostion
impl UnwindSafe for BitPostion
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