Enum irox_types::Primitives
source · pub enum Primitives {
Show 16 variants
u8,
i8,
u16,
i16,
u32,
i32,
f32,
u64,
i64,
f64,
u128,
i128,
bool,
char,
str,
null,
}Expand description
A set of possible primitives
Variants§
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<Primitives> for Primitives
impl PartialEq<Primitives> 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