Struct vek::transition::ProgressMapperFn [] [src]

pub struct ProgressMapperFn<T>(pub fn(_: T) -> T);

A function pointer container that can map a progress value to a LERP factor.

Trait Implementations

impl<T: Debug> Debug for ProgressMapperFn<T>
[src]

[src]

Formats the value using the given formatter.

impl<T: Copy> Copy for ProgressMapperFn<T>
[src]

impl<T: Clone> Clone for ProgressMapperFn<T>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<T: Hash> Hash for ProgressMapperFn<T>
[src]

[src]

Feeds this value into the given [Hasher]. Read more

1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl<T: PartialEq> PartialEq for ProgressMapperFn<T>
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl<T: Eq> Eq for ProgressMapperFn<T>
[src]

impl<T> Default for ProgressMapperFn<T>
[src]

The default value for a ProgressMapperFn is the identity function.

[src]

Returns the "default value" for a type. Read more

impl<T> From<fn(_: T) -> T> for ProgressMapperFn<T>
[src]

[src]

Performs the conversion.

impl<Progress> ProgressMapper<Progress> for ProgressMapperFn<Progress>
[src]

[src]

Maps an unconstrained progress value to a LERP factor. Read more