pub enum RuchyType {
I32,
I64,
F64,
Bool,
String,
Unit,
Option(Box<RuchyType>),
Vec(Box<RuchyType>),
Custom(String),
}Expand description
Ruchy types
Variants§
I32
i32
I64
i64
F64
f64
Bool
bool
String
String
Unit
Unit ()
Option(Box<RuchyType>)
Option
Vec(Box<RuchyType>)
Vec
Custom(String)
Custom type
Implementations§
Trait Implementations§
impl Eq for RuchyType
impl StructuralPartialEq for RuchyType
Auto Trait Implementations§
impl Freeze for RuchyType
impl RefUnwindSafe for RuchyType
impl Send for RuchyType
impl Sync for RuchyType
impl Unpin for RuchyType
impl UnsafeUnpin for RuchyType
impl UnwindSafe for RuchyType
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§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more