pub struct LumaA<A: AlphaState = Straight>(/* private fields */);Expand description
Two-channel luma+alpha layout, generic over AlphaState. Y=0 A=1.
Trait Implementations§
Source§impl<A: AlphaState> ChannelMap<2> for LumaA<A>
impl<A: AlphaState> ChannelMap<2> for LumaA<A>
impl<A: AlphaState> BackingStore<[f32; 2]> for LumaA<A>
impl<A: Copy + AlphaState> Copy for LumaA<A>
impl<A: Eq + AlphaState> Eq for LumaA<A>
impl<A: AlphaState> LumaLayout for LumaA<A>
impl<A: AlphaState> StructuralPartialEq for LumaA<A>
Auto Trait Implementations§
impl<A> Freeze for LumaA<A>
impl<A> RefUnwindSafe for LumaA<A>where
A: RefUnwindSafe,
impl<A> Send for LumaA<A>where
A: Send,
impl<A> Sync for LumaA<A>where
A: Sync,
impl<A> Unpin for LumaA<A>where
A: Unpin,
impl<A> UnsafeUnpin for LumaA<A>
impl<A> UnwindSafe for LumaA<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