[][src]Trait colours::IsColorChannel

pub trait IsColorChannel: Sized + Copy + PartialOrd {
    const MIN: Self;
    const MAX: Self;

    fn unwind_channel(self) -> Self;

    fn clamp_channel(self) -> Self { ... }
}

Associated Constants

const MIN: Self

const MAX: Self

Loading content...

Required methods

fn unwind_channel(self) -> Self

Loading content...

Provided methods

fn clamp_channel(self) -> Self

Loading content...

Implementations on Foreign Types

impl IsColorChannel for u8[src]

impl IsColorChannel for f32[src]

Loading content...

Implementors

Loading content...