pub enum Numeric {
I8(i8),
I16(i16),
I32(i32),
I64(i64),
U8(u8),
U16(u16),
U32(u32),
U64(u64),
F64(f64),
F32(f32),
ISize(isize),
USize(usize),
}
Variants§
I8(i8)
I16(i16)
I32(i32)
I64(i64)
U8(u8)
U16(u16)
U32(u32)
U64(u64)
F64(f64)
F32(f32)
ISize(isize)
USize(usize)
Implementations§
Trait Implementations§
Source§impl CoercionRules for Numeric
impl CoercionRules for Numeric
Source§impl<'de> Deserialize<'de> for Numeric
impl<'de> Deserialize<'de> for Numeric
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 From<Numeric> for ColorChannel
impl From<Numeric> for ColorChannel
Source§impl HelperFunctions for Numeric
impl HelperFunctions for Numeric
Source§impl Interpolatable for Numeric
impl Interpolatable for Numeric
fn interpolate(&self, other: &Self, t: f64) -> Self
Source§impl PartialOrd for Numeric
impl PartialOrd for Numeric
Source§impl ToPaxValue for Numeric
impl ToPaxValue for Numeric
fn to_pax_value(self) -> PaxValue
impl Copy for Numeric
Auto Trait Implementations§
impl Freeze for Numeric
impl RefUnwindSafe for Numeric
impl Send for Numeric
impl Sync for Numeric
impl Unpin for Numeric
impl UnwindSafe for Numeric
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<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
Source§fn round_into(self) -> U
fn round_into(self) -> U
Performs the conversion.