pub enum Type {
}Variants§
Int
Float
Str
Bool
Unit
Result(Box<Type>, Box<Type>)
Option(Box<Type>)
List(Box<Type>)
Tuple(Vec<Type>)
Map(Box<Type>, Box<Type>)
Fn(Vec<Type>, Box<Type>, Vec<String>)
Unknown
Named(String)
Implementations§
Trait Implementations§
impl StructuralPartialEq for Type
Auto Trait Implementations§
impl Freeze for Type
impl RefUnwindSafe for Type
impl Send for Type
impl Sync for Type
impl Unpin for Type
impl UnsafeUnpin for Type
impl UnwindSafe for Type
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