Struct vek::transition::IdentityProgressMapper
source · pub struct IdentityProgressMapper;
Expand description
A pass-through functor that returns progress values directly as LERP factors.
Trait Implementations§
source§impl Clone for IdentityProgressMapper
impl Clone for IdentityProgressMapper
source§fn clone(&self) -> IdentityProgressMapper
fn clone(&self) -> IdentityProgressMapper
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for IdentityProgressMapper
impl Debug for IdentityProgressMapper
source§impl Default for IdentityProgressMapper
impl Default for IdentityProgressMapper
source§fn default() -> IdentityProgressMapper
fn default() -> IdentityProgressMapper
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for IdentityProgressMapper
impl<'de> Deserialize<'de> for IdentityProgressMapper
source§fn 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
source§impl Hash for IdentityProgressMapper
impl Hash for IdentityProgressMapper
source§impl PartialEq<IdentityProgressMapper> for IdentityProgressMapper
impl PartialEq<IdentityProgressMapper> for IdentityProgressMapper
source§fn eq(&self, other: &IdentityProgressMapper) -> bool
fn eq(&self, other: &IdentityProgressMapper) -> bool
source§impl<Progress> ProgressMapper<Progress> for IdentityProgressMapper
impl<Progress> ProgressMapper<Progress> for IdentityProgressMapper
source§fn map_progress(&self, progress: Progress) -> Progress
fn map_progress(&self, progress: Progress) -> Progress
Maps an unconstrained progress value to a LERP factor. Read more