Struct LumaA
struct LumaA<T>(3394)
Grayscale colors + alpha channel
Implementations
impl PixelWithColorType for LumaA<u16>
impl PixelWithColorType for LumaA<u8>
impl<T> Any for LumaA<T>
fn type_id(self: &Self) -> TypeId
impl<T> Borrow for LumaA<T>
fn borrow(self: &Self) -> &T
impl<T> BorrowMut for LumaA<T>
fn borrow_mut(self: &mut Self) -> &mut T
impl<T> CloneToUninit for LumaA<T>
unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)
impl<T> Freeze for LumaA<T>
impl<T> From for LumaA<T>
fn from(t: T) -> TReturns the argument unchanged.
impl<T> From for LumaA<T>
fn from(c: [T; 2]) -> Self
impl<T> Index for LumaA<T>
fn index(self: &Self, _index: usize) -> &T
impl<T> IndexMut for LumaA<T>
fn index_mut(self: &mut Self, _index: usize) -> &mut T
impl<T> Pointable for LumaA<T>
unsafe fn init(init: <T as Pointable>::Init) -> usizeunsafe fn deref<'a>(ptr: usize) -> &'a Tunsafe fn deref_mut<'a>(ptr: usize) -> &'a mut Tunsafe fn drop(ptr: usize)
impl<T> RefUnwindSafe for LumaA<T>
impl<T> Send for LumaA<T>
impl<T> StructuralPartialEq for LumaA<T>
impl<T> Sync for LumaA<T>
impl<T> ToOwned for LumaA<T>
fn to_owned(self: &Self) -> Tfn clone_into(self: &Self, target: &mut T)
impl<T> Unpin for LumaA<T>
impl<T> UnsafeUnpin for LumaA<T>
impl<T> UnwindSafe for LumaA<T>
impl<T, U> Into for LumaA<T>
fn into(self: Self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom for LumaA<T>
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T, U> TryInto for LumaA<T>
fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>
impl<T: $crate::clone::Clone> Clone for LumaA<T>
fn clone(self: &Self) -> LumaA<T>
impl<T: $crate::cmp::Eq> Eq for LumaA<T>
impl<T: $crate::cmp::PartialEq> PartialEq for LumaA<T>
fn eq(self: &Self, other: &LumaA<T>) -> bool
impl<T: $crate::fmt::Debug> Debug for LumaA<T>
fn fmt(self: &Self, f: &mut Formatter<'_>) -> Result
impl<T: $crate::hash::Hash> Hash for LumaA<T>
fn hash<__H: $crate::hash::Hasher>(self: &Self, state: &mut __H)
impl<T: $crate::marker::Copy> Copy for LumaA<T>
impl<T: Primitive> Pixel for LumaA<T>
fn channels(self: &Self) -> &[T]fn channels_mut(self: &mut Self) -> &mut [T]fn channels4(self: &Self) -> (T, T, T, T)fn from_channels(a: T, b: T, c: T, d: T) -> LumaA<T>fn from_slice(slice: &[T]) -> &LumaA<T>fn from_slice_mut(slice: &mut [T]) -> &mut LumaA<T>fn to_rgb(self: &Self) -> Rgb<T>fn to_rgba(self: &Self) -> Rgba<T>fn to_luma(self: &Self) -> Luma<T>fn to_luma_alpha(self: &Self) -> LumaA<T>fn map<F>(self: &Self, f: F) -> LumaA<T> where F: FnMut(T) -> Tfn apply<F>(self: &mut Self, f: F) where F: FnMut(T) -> Tfn map_with_alpha<F, G>(self: &Self, f: F, g: G) -> LumaA<T> where F: FnMut(T) -> T, G: FnMut(T) -> Tfn apply_with_alpha<F, G>(self: &mut Self, f: F, g: G) where F: FnMut(T) -> T, G: FnMut(T) -> Tfn map2<F>(self: &Self, other: &Self, f: F) -> LumaA<T> where F: FnMut(T, T) -> Tfn apply2<F>(self: &mut Self, other: &LumaA<T>, f: F) where F: FnMut(T, T) -> Tfn invert(self: &mut Self)fn blend(self: &mut Self, other: &LumaA<T>)