pub struct InterpolationType(pub i64);Tuple Fields§
§0: i64Implementations§
Source§impl InterpolationType
impl InterpolationType
pub const NEAREST: InterpolationType
pub const LINEAR: InterpolationType
pub const CUBIC: InterpolationType
Trait Implementations§
Source§impl Clone for InterpolationType
impl Clone for InterpolationType
Source§fn clone(&self) -> InterpolationType
fn clone(&self) -> InterpolationType
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 InterpolationType
impl Debug for InterpolationType
Source§impl From<InterpolationType> for i64
impl From<InterpolationType> for i64
Source§fn from(v: InterpolationType) -> Self
fn from(v: InterpolationType) -> Self
Converts to this type from the input type.
Source§impl From<i64> for InterpolationType
impl From<i64> for InterpolationType
Source§impl FromVariant for InterpolationType
impl FromVariant for InterpolationType
fn from_variant(v: &Variant) -> Result<Self, FromVariantError>
Source§impl Hash for InterpolationType
impl Hash for InterpolationType
Source§impl Ord for InterpolationType
impl Ord for InterpolationType
Source§fn cmp(&self, other: &InterpolationType) -> Ordering
fn cmp(&self, other: &InterpolationType) -> 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 InterpolationType
impl PartialEq for InterpolationType
Source§impl PartialOrd for InterpolationType
impl PartialOrd for InterpolationType
impl Copy for InterpolationType
impl Eq for InterpolationType
impl StructuralPartialEq for InterpolationType
Auto Trait Implementations§
impl Freeze for InterpolationType
impl RefUnwindSafe for InterpolationType
impl Send for InterpolationType
impl Sync for InterpolationType
impl Unpin for InterpolationType
impl UnwindSafe for InterpolationType
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.