pub struct InterpolationMode(pub i64);Tuple Fields§
§0: i64Implementations§
Source§impl InterpolationMode
impl InterpolationMode
pub const LINEAR: InterpolationMode
pub const CONSTANT: InterpolationMode
pub const CUBIC: InterpolationMode
Trait Implementations§
Source§impl Clone for InterpolationMode
impl Clone for InterpolationMode
Source§fn clone(&self) -> InterpolationMode
fn clone(&self) -> InterpolationMode
Returns a duplicate 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 InterpolationMode
impl Debug for InterpolationMode
Source§impl From<InterpolationMode> for i64
impl From<InterpolationMode> for i64
Source§fn from(v: InterpolationMode) -> Self
fn from(v: InterpolationMode) -> Self
Converts to this type from the input type.
Source§impl From<i64> for InterpolationMode
impl From<i64> for InterpolationMode
Source§impl FromVariant for InterpolationMode
impl FromVariant for InterpolationMode
fn from_variant(v: &Variant) -> Result<Self, FromVariantError>
Source§impl Hash for InterpolationMode
impl Hash for InterpolationMode
Source§impl Ord for InterpolationMode
impl Ord for InterpolationMode
Source§fn cmp(&self, other: &InterpolationMode) -> Ordering
fn cmp(&self, other: &InterpolationMode) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for InterpolationMode
impl PartialEq for InterpolationMode
Source§impl PartialOrd for InterpolationMode
impl PartialOrd for InterpolationMode
impl Copy for InterpolationMode
impl Eq for InterpolationMode
impl StructuralPartialEq for InterpolationMode
Auto Trait Implementations§
impl Freeze for InterpolationMode
impl RefUnwindSafe for InterpolationMode
impl Send for InterpolationMode
impl Sync for InterpolationMode
impl Unpin for InterpolationMode
impl UnwindSafe for InterpolationMode
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.