Struct vek::transition::IdentityProgressMapper
source · [−]pub struct IdentityProgressMapper;
Expand description
A pass-through functor that returns progress values directly as LERP factors.
Trait Implementations
sourceimpl Clone for IdentityProgressMapper
impl Clone for IdentityProgressMapper
sourcefn clone(&self) -> IdentityProgressMapper
fn clone(&self) -> IdentityProgressMapper
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for IdentityProgressMapper
impl Debug for IdentityProgressMapper
sourceimpl Default for IdentityProgressMapper
impl Default for IdentityProgressMapper
sourcefn default() -> IdentityProgressMapper
fn default() -> IdentityProgressMapper
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for IdentityProgressMapper
impl<'de> Deserialize<'de> for IdentityProgressMapper
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Hash for IdentityProgressMapper
impl Hash for IdentityProgressMapper
sourceimpl<Progress> ProgressMapper<Progress> for IdentityProgressMapper
impl<Progress> ProgressMapper<Progress> for IdentityProgressMapper
sourcefn map_progress(&self, progress: Progress) -> Progress
fn map_progress(&self, progress: Progress) -> Progress
Maps an unconstrained progress value to a LERP factor. Read more
sourceimpl Serialize for IdentityProgressMapper
impl Serialize for IdentityProgressMapper
impl Copy for IdentityProgressMapper
impl Eq for IdentityProgressMapper
impl StructuralEq for IdentityProgressMapper
impl StructuralPartialEq for IdentityProgressMapper
Auto Trait Implementations
impl RefUnwindSafe for IdentityProgressMapper
impl Send for IdentityProgressMapper
impl Sync for IdentityProgressMapper
impl Unpin for IdentityProgressMapper
impl UnwindSafe for IdentityProgressMapper
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more