Struct vek::transition::ProgressMapperFn [−][src]
pub struct ProgressMapperFn<T>(pub fn(_: T) -> T);
Expand description
A function pointer container that can map a progress value to a LERP factor.
Tuple Fields
0: fn(_: T) -> T
Trait Implementations
The default value for a ProgressMapperFn
is the identity function.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Maps an unconstrained progress value to a LERP factor. Read more
Auto Trait Implementations
impl<T> RefUnwindSafe for ProgressMapperFn<T>
impl<T> Send for ProgressMapperFn<T>
impl<T> Sync for ProgressMapperFn<T>
impl<T> Unpin for ProgressMapperFn<T>
impl<T> UnwindSafe for ProgressMapperFn<T>
Blanket Implementations
Mutably borrows from an owned value. Read more