pub enum Type<'ast> {
Basic(DataType),
Array(ArrayType<'ast>),
Tuple(TupleType<'ast>),
}
Variants§
Trait Implementations§
impl<'ast> Eq for Type<'ast>
impl<'ast> StructuralPartialEq for Type<'ast>
Auto Trait Implementations§
impl<'ast> Freeze for Type<'ast>
impl<'ast> RefUnwindSafe for Type<'ast>
impl<'ast> Send for Type<'ast>
impl<'ast> Sync for Type<'ast>
impl<'ast> Unpin for Type<'ast>
impl<'ast> UnwindSafe for Type<'ast>
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