Enum pax_engine::api::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<Numeric, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<Numeric, <__D as Deserializer<'de>>::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§fn from(value: Numeric) -> ColorChannel
fn from(value: Numeric) -> ColorChannel
Converts to this type from the input type.
source§impl HelperFunctions for Numeric
impl HelperFunctions for Numeric
source§impl Interpolatable for Numeric
impl Interpolatable for Numeric
source§impl PartialOrd for Numeric
impl PartialOrd for Numeric
source§impl Reflectable for Numeric
impl Reflectable for Numeric
source§fn get_import_path() -> String
fn get_import_path() -> String
The import path is the fully namespace-qualified path for a type, like and a Vec. In both cases of Vec,
the import_path will remain the same.
std::vec::Vec
This is distinct from type_id ONLY when the type has generics, like Vec, where
the type_id is distinct across a Vecfn get_self_pascal_identifier() -> String
fn get_type_id() -> TypeId
fn parse_to_manifest( ctx: ParsingContext, ) -> (ParsingContext, Vec<PropertyDefinition>)
fn get_iterable_type_id() -> Option<TypeId>
source§impl Serialize for Numeric
impl Serialize for Numeric
source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)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.