[][src]Struct nannou::image::Luma

#[repr(C)]pub struct Luma<T>(pub [T; 1])
where
    T: Primitive
;

Grayscale colors

Trait Implementations

impl<T> Clone for Luma<T> where
    T: Primitive + Clone
[src]

impl<T> Copy for Luma<T> where
    T: Primitive + Copy
[src]

impl<T> Debug for Luma<T> where
    T: Primitive + Debug
[src]

impl<T> Eq for Luma<T> where
    T: Primitive + Eq
[src]

impl<T> From<[T; 1]> for Luma<T> where
    T: 'static + Primitive
[src]

impl<T> Hash for Luma<T> where
    T: Primitive + Hash
[src]

impl<T> Index<usize> for Luma<T> where
    T: Primitive
[src]

type Output = T

The returned type after indexing.

impl<T> IndexMut<usize> for Luma<T> where
    T: Primitive
[src]

impl<T> PartialEq<Luma<T>> for Luma<T> where
    T: Primitive + PartialEq<T>, 
[src]

impl<T> Pixel for Luma<T> where
    T: 'static + Primitive
[src]

type Subpixel = T

The underlying subpixel type.

impl<T> StructuralEq for Luma<T> where
    T: Primitive
[src]

impl<T> StructuralPartialEq for Luma<T> where
    T: Primitive
[src]

Auto Trait Implementations

impl<T> RefUnwindSafe for Luma<T> where
    T: RefUnwindSafe

impl<T> Send for Luma<T> where
    T: Send

impl<T> Sync for Luma<T> where
    T: Sync

impl<T> Unpin for Luma<T> where
    T: Unpin

impl<T> UnwindSafe for Luma<T> where
    T: UnwindSafe

Blanket Implementations

impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S where
    D: AdaptFrom<S, Swp, Dwp, T>,
    Dwp: WhitePoint,
    Swp: WhitePoint,
    T: Component + Float
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T, U> ConvertInto<U> for T where
    U: ConvertFrom<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> NodeId for T where
    T: 'static + Copy + Clone + PartialEq<T> + Eq + Hash + Send
[src]

impl<T> SetParameter for T

impl<T> Style for T where
    T: Any + Debug + PartialEq<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,