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