Struct nannou::color::OutOfBounds[][src]

pub struct OutOfBounds<T> { /* fields omitted */ }

The error type for a color conversion that converted a color into a color with invalid values.


impl<T> OutOfBounds<T>[src]

pub fn color(self) -> T[src]

Consume this error and return the wrapped color

Trait Implementations

impl<T> Debug for OutOfBounds<T> where
    T: Debug

impl<T> Display for OutOfBounds<T>[src]

impl<T> Error for OutOfBounds<T> where
    T: Debug

Auto Trait Implementations

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

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

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

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

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

Blanket Implementations

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

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

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

impl<T, U> ConvertInto<U> for T where
    U: ConvertFrom<T>, 

impl<T> Downcast<T> for T

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

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> SetParameter for T

impl<T> ToString for T where
    T: Display + ?Sized

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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

The type returned in the event of a conversion error.

impl<T> Upcast<T> for T

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