Enum pax_runtime_api::pax_value::numeric::Numeric
source · 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 Interpolatable for Numeric
impl Interpolatable for Numeric
fn interpolate(&self, other: &Self, t: f64) -> Self
source§impl PartialOrd for Numeric
impl PartialOrd for Numeric
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl ToFromPaxAny for Numeric
impl ToFromPaxAny for Numeric
source§impl ToFromPaxValue for Numeric
impl ToFromPaxValue for Numeric
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, 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.