pub enum Type<'tree> {
DisjunctiveNormalFormType(Box<DisjunctiveNormalFormType<'tree>>),
IntersectionType(Box<IntersectionType<'tree>>),
NamedType(Box<NamedType<'tree>>),
OptionalType(Box<OptionalType<'tree>>),
PrimitiveType(Box<PrimitiveType<'tree>>),
UnionType(Box<UnionType<'tree>>),
}Variants§
DisjunctiveNormalFormType(Box<DisjunctiveNormalFormType<'tree>>)
IntersectionType(Box<IntersectionType<'tree>>)
NamedType(Box<NamedType<'tree>>)
OptionalType(Box<OptionalType<'tree>>)
PrimitiveType(Box<PrimitiveType<'tree>>)
UnionType(Box<UnionType<'tree>>)
Trait Implementations§
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