pub enum Type<'tree> {
SimpleType(Box<SimpleType<'tree>>),
ParenthesizedType(Box<ParenthesizedType<'tree>>),
}Variants§
SimpleType(Box<SimpleType<'tree>>)
ParenthesizedType(Box<ParenthesizedType<'tree>>)
Trait Implementations§
impl<'tree> Eq for Type<'tree>
impl<'tree> StructuralPartialEq for Type<'tree>
Auto Trait Implementations§
impl<'tree> Freeze for Type<'tree>
impl<'tree> RefUnwindSafe for Type<'tree>
impl<'tree> Send for Type<'tree>
impl<'tree> Sync for Type<'tree>
impl<'tree> Unpin for Type<'tree>
impl<'tree> UnsafeUnpin for Type<'tree>
impl<'tree> UnwindSafe for Type<'tree>
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