Trait refraction::Lenticuloid
[−]
[src]
pub trait Lenticuloid { type InitialSource; type InitialTarget; type FinalSource; type FinalTarget; type AtInitial: Lenticuloid<InitialSource = Self::InitialSource, InitialTarget = Self::InitialTarget, FinalSource = Self::InitialSource, FinalTarget = Self::InitialTarget, AtInitial = Self::AtInitial, AtFinal = Self::AtInitial>; type AtFinal: Lenticuloid<InitialSource = Self::FinalSource, InitialTarget = Self::FinalTarget, FinalSource = Self::FinalSource, FinalTarget = Self::FinalTarget, AtInitial = Self::AtFinal, AtFinal = Self::AtFinal>; fn at_initial(&self) -> Self::AtInitial; fn at_final(&self) -> Self::AtFinal; }
The supertype of all lenticuloids.
Associated Types
type InitialSource
type InitialTarget
type FinalSource
type FinalTarget
type AtInitial: Lenticuloid<InitialSource = Self::InitialSource, InitialTarget = Self::InitialTarget, FinalSource = Self::InitialSource, FinalTarget = Self::InitialTarget, AtInitial = Self::AtInitial, AtFinal = Self::AtInitial>
type AtFinal: Lenticuloid<InitialSource = Self::FinalSource, InitialTarget = Self::FinalTarget, FinalSource = Self::FinalSource, FinalTarget = Self::FinalTarget, AtInitial = Self::AtFinal, AtFinal = Self::AtFinal>
Required Methods
fn at_initial(&self) -> Self::AtInitial
fn at_final(&self) -> Self::AtFinal
Implementors
impl<A, B> Lenticuloid for FromUnit<A, B>
impl<S> Lenticuloid for ToUnit<S>
impl<S, A, T, B> Lenticuloid for Conv<S, A, T, B> where
S: Into<A>,
A: Into<S>,
B: Into<T>,
T: Into<B>,impl<'a, S: ?Sized, A: ?Sized, T: ?Sized, B: ?Sized> Lenticuloid for ConvRef<'a, S, A, T, B> where
S: AsRef<A> + 'a,
A: AsRef<S> + 'a,
T: AsRef<B> + 'a,
B: AsRef<T> + 'a,impl<'a, S: ?Sized, A: ?Sized, T: ?Sized, B: ?Sized> Lenticuloid for ConvMut<'a, S, A, T, B> where
S: AsMut<A> + 'a,
A: AsMut<S> + 'a,
T: AsMut<B> + 'a,
B: AsMut<T> + 'a,impl<S, T> Lenticuloid for Identity<S, T>
impl<LF: Lenticuloid, LS: ?Sized> Lenticuloid for Compose<LF, LS> where
LS: Lenticuloid<InitialTarget = LF::InitialSource, FinalTarget = LF::FinalSource>,impl<L: Lenticuloid + ?Sized> Lenticuloid for Invert<L>