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
This method tests for
self
and other
values to be equal, and is used
by ==
.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
source§impl 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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more