[][src]Struct palett::projector::ProjectorFactory

pub struct ProjectorFactory {
    pub floor: f32,
    pub lever: HSL,
    pub base: HSL,
    pub factory: DyeFactory<HSL>,
    pub default: HSL,
}

Fields

floor: f32lever: HSLbase: HSLfactory: DyeFactory<HSL>default: HSL

Implementations

impl ProjectorFactory[src]

pub fn optional_build<T>(
    bound: &Option<Bound<T>>,
    preset: &Preset,
    effects: &[Effect]
) -> Option<ProjectorFactory> where
    T: Num + AsPrimitive<f32>, 
[src]

pub fn build<T>(
    bound: &Bound<T>,
    preset: &Preset,
    effects: &[Effect]
) -> ProjectorFactory where
    T: Num + AsPrimitive<f32>, 
[src]

pub fn project<T>(&self, value: T) -> HSL where
    T: Num + AsPrimitive<f32>, 
[src]

pub fn render<T>(&self, value: T, text: &str) -> String where
    T: Num + AsPrimitive<f32>, 
[src]

pub fn make<T>(&self, value: T) -> impl Fn(&str) -> String where
    T: Num + AsPrimitive<f32>, 
[src]

pub fn make_box<'a, T>(&self, value: T) -> Box<dyn Fn(&str) -> String> where
    T: Num + AsPrimitive<f32>, 
[src]

pub fn make_default(&self) -> impl Fn(&str) -> String[src]

Auto Trait Implementations

Blanket Implementations

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> From<T> for T[src]

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

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.