pub enum Type {
Primitive(PrimitiveType<'static>),
Class(ClassType),
Local(Local),
}
Expand description
Raw (importable) types.
Variants§
Implementations§
Trait Implementations§
Source§impl From<PrimitiveType<'static>> for Type
Implementation for PrimitiveType to Type conversion.
impl From<PrimitiveType<'static>> for Type
Implementation for PrimitiveType to Type conversion.
Source§fn from(value: PrimitiveType<'static>) -> Type
fn from(value: PrimitiveType<'static>) -> Type
Converts to this type from the input type.
Source§impl Ord for Type
impl Ord for Type
Source§impl PartialOrd for Type
impl PartialOrd for Type
impl Eq for Type
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 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