Enum rusty_value::Primitive
source · [−]pub enum Primitive {
Integer(Integer),
Float(Float),
String(String),
OsString(OsString),
Char(char),
Bool(bool),
}
Expand description
A rust primitive value
Variants
Integer(Integer)
Float(Float)
String(String)
OsString(OsString)
Char(char)
Bool(bool)
Trait Implementations
sourceimpl PartialOrd<Primitive> for Primitive
impl PartialOrd<Primitive> for Primitive
sourcefn partial_cmp(&self, other: &Primitive) -> Option<Ordering>
fn partial_cmp(&self, other: &Primitive) -> Option<Ordering>
1.0.0 · sourcefn 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 moreimpl StructuralPartialEq for Primitive
Auto Trait Implementations
impl RefUnwindSafe for Primitive
impl Send for Primitive
impl Sync for Primitive
impl Unpin for Primitive
impl UnwindSafe for Primitive
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more