pub struct Rgba<A: AlphaState = Straight>(/* private fields */);Expand description
RGBA layout. R=0 G=1 B=2 A=3.
Trait Implementations§
Source§impl<A: AlphaState> ChannelMap<4> for Rgba<A>
impl<A: AlphaState> ChannelMap<4> for Rgba<A>
impl<A: AlphaState> BackingStore<[f32; 4]> for Rgba<A>
impl<A: AlphaState> BackingStore<[u8; 4]> for Rgba<A>
impl<A: Copy + AlphaState> Copy for Rgba<A>
impl<A: Eq + AlphaState> Eq for Rgba<A>
impl<A: AlphaState> StructuralPartialEq for Rgba<A>
Auto Trait Implementations§
impl<A> Freeze for Rgba<A>
impl<A> RefUnwindSafe for Rgba<A>where
A: RefUnwindSafe,
impl<A> Send for Rgba<A>where
A: Send,
impl<A> Sync for Rgba<A>where
A: Sync,
impl<A> Unpin for Rgba<A>where
A: Unpin,
impl<A> UnsafeUnpin for Rgba<A>
impl<A> UnwindSafe for Rgba<A>where
A: 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