[−][src]Struct palett::projector::ProjectorFactory
Fields
floor: f32
lever: HSL
base: HSL
factory: 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]
bound: &Option<Bound<T>>,
preset: &Preset,
effects: &[Effect]
) -> Option<ProjectorFactory> where
T: Num + AsPrimitive<f32>,
pub fn build<T>(
bound: &Bound<T>,
preset: &Preset,
effects: &[Effect]
) -> ProjectorFactory where
T: Num + AsPrimitive<f32>,
[src]
bound: &Bound<T>,
preset: &Preset,
effects: &[Effect]
) -> ProjectorFactory where
T: Num + AsPrimitive<f32>,
pub fn project<T>(&self, value: T) -> HSL where
T: Num + AsPrimitive<f32>,
[src]
T: Num + AsPrimitive<f32>,
pub fn render<T>(&self, value: T, text: &str) -> String where
T: Num + AsPrimitive<f32>,
[src]
T: Num + AsPrimitive<f32>,
pub fn make<T>(&self, value: T) -> impl Fn(&str) -> String where
T: Num + AsPrimitive<f32>,
[src]
T: Num + AsPrimitive<f32>,
pub fn make_box<'a, T>(&self, value: T) -> Box<dyn Fn(&str) -> String> where
T: Num + AsPrimitive<f32>,
[src]
T: Num + AsPrimitive<f32>,
pub fn make_default(&self) -> impl Fn(&str) -> String
[src]
Auto Trait Implementations
impl RefUnwindSafe for ProjectorFactory
[src]
impl Send for ProjectorFactory
[src]
impl Sync for ProjectorFactory
[src]
impl Unpin for ProjectorFactory
[src]
impl UnwindSafe for ProjectorFactory
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,