Struct pixel_game_lib::IdentityProgressMapper 
source · pub struct IdentityProgressMapper;Expand description
Re-export vek types. 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<IdentityProgressMapper, <__D as Deserializer<'de>>::Error>where
    __D: Deserializer<'de>,
 
fn deserialize<__D>(
    __deserializer: __D
) -> Result<IdentityProgressMapper, <__D as Deserializer<'de>>::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 for IdentityProgressMapper
 
impl PartialEq 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
source§fn serialize<__S>(
    &self,
    __serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
    __S: Serializer,
 
fn serialize<__S>(
    &self,
    __serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
    __S: Serializer,
Serialize this value into the given Serde serializer. Read more
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
source§impl<Q, K> Equivalent<K> for Q
 
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
 
fn equivalent(&self, key: &K) -> bool
Compare self to 
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
 
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
 
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more