Enum irox_types::Primitives
source · #[non_exhaustive]pub enum Primitives {
Show 20 variants
u8,
i8,
u16,
i16,
u32,
i32,
f32,
u64,
i64,
f64,
u128,
i128,
bool,
char,
str,
u8_blob,
u16_blob,
u32_blob,
u64_blob,
null,
}Expand description
A set of possible primitives
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
u8
i8
u16
i16
u32
i32
f32
u64
i64
f64
u128
i128
bool
char
str
u8_blob
u16_blob
u32_blob
u64_blob
null
Implementations§
source§impl Primitives
impl Primitives
pub fn iter_names() -> impl Iterator<Item = &'static str>
Trait Implementations§
source§impl Clone for Primitives
impl Clone for Primitives
source§fn clone(&self) -> Primitives
fn clone(&self) -> Primitives
Returns a copy 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 Primitives
impl Debug for Primitives
source§impl EnumIterItem for Primitives
impl EnumIterItem for Primitives
type Item = Primitives
fn iter_items() -> IntoIter<Self::Item>
source§impl PartialEq for Primitives
impl PartialEq for Primitives
source§fn eq(&self, other: &Primitives) -> bool
fn eq(&self, other: &Primitives) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl TryFrom<&str> for Primitives
impl TryFrom<&str> for Primitives
impl Copy for Primitives
impl Eq for Primitives
impl StructuralEq for Primitives
impl StructuralPartialEq for Primitives
Auto Trait Implementations§
impl RefUnwindSafe for Primitives
impl Send for Primitives
impl Sync for Primitives
impl Unpin for Primitives
impl UnwindSafe for Primitives
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