pub enum Type {
Base(BaseType),
Indexed(TypeIndexed),
Exists(TypeExists),
GeneralExists(TypeGeneralExists),
Reference(TypeReference),
Constraint(TypeConstraint),
Array(TypeArray),
Tuple(TypeTuple),
Ptr(TypePtr),
}Variants§
Base(BaseType)
Indexed(TypeIndexed)
Exists(TypeExists)
GeneralExists(TypeGeneralExists)
Reference(TypeReference)
Constraint(TypeConstraint)
Array(TypeArray)
Tuple(TypeTuple)
Ptr(TypePtr)
Implementations§
Source§impl Type
impl Type
fn to_tokens_inner(&self, tokens: &mut TokenStream, mode: Mode)
Trait Implementations§
Auto Trait Implementations§
impl !Send for Type
impl !Sync for Type
impl Freeze for Type
impl RefUnwindSafe 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