pub enum RustType {
String,
Integer,
Boolean,
Float,
Option(Box<RustType>),
Vec(Box<RustType>),
Box(Box<RustType>),
Slice(Box<RustType>),
Custom(String),
Reference(String),
}Expand description
Represents a Rust type
Variants§
String
Integer
Boolean
Float
Option(Box<RustType>)
Vec(Box<RustType>)
Box(Box<RustType>)
Slice(Box<RustType>)
Custom(String)
Reference(String)
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RustType
impl RefUnwindSafe for RustType
impl Send for RustType
impl Sync for RustType
impl Unpin for RustType
impl UnsafeUnpin for RustType
impl UnwindSafe for RustType
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