pub struct Bgr<T = u8>(pub T, pub T, pub T);Expand description
A pixel that is three bytes long and is made of a blue, green and red channel, in that order.
Tuple Fields§
§0: T§1: T§2: TTrait Implementations§
impl<T: Copy> Copy for Bgr<T>
impl<T: Eq> Eq for Bgr<T>
impl<T> StructuralPartialEq for Bgr<T>
Auto Trait Implementations§
impl<T> Freeze for Bgr<T>where
T: Freeze,
impl<T> RefUnwindSafe for Bgr<T>where
T: RefUnwindSafe,
impl<T> Send for Bgr<T>where
T: Send,
impl<T> Sync for Bgr<T>where
T: Sync,
impl<T> Unpin for Bgr<T>where
T: Unpin,
impl<T> UnwindSafe for Bgr<T>where
T: UnwindSafe,
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