pub enum SimpleType<'tree> {
ArrayType(Box<ArrayType<'tree>>),
ChannelType(Box<ChannelType<'tree>>),
FunctionType(Box<FunctionType<'tree>>),
GenericType(Box<GenericType<'tree>>),
InterfaceType(Box<InterfaceType<'tree>>),
MapType(Box<MapType<'tree>>),
NegatedType(Box<NegatedType<'tree>>),
PointerType(Box<PointerType<'tree>>),
QualifiedType(Box<QualifiedType<'tree>>),
SliceType(Box<SliceType<'tree>>),
StructType(Box<StructType<'tree>>),
TypeIdentifier(Box<TypeIdentifier<'tree>>),
}Variants§
ArrayType(Box<ArrayType<'tree>>)
ChannelType(Box<ChannelType<'tree>>)
FunctionType(Box<FunctionType<'tree>>)
GenericType(Box<GenericType<'tree>>)
InterfaceType(Box<InterfaceType<'tree>>)
MapType(Box<MapType<'tree>>)
NegatedType(Box<NegatedType<'tree>>)
PointerType(Box<PointerType<'tree>>)
QualifiedType(Box<QualifiedType<'tree>>)
SliceType(Box<SliceType<'tree>>)
StructType(Box<StructType<'tree>>)
TypeIdentifier(Box<TypeIdentifier<'tree>>)
Trait Implementations§
Source§impl<'tree> Clone for SimpleType<'tree>
impl<'tree> Clone for SimpleType<'tree>
Source§fn clone(&self) -> SimpleType<'tree>
fn clone(&self) -> SimpleType<'tree>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'tree> Debug for SimpleType<'tree>
impl<'tree> Debug for SimpleType<'tree>
Source§impl<'tree> FromNode<'tree> for SimpleType<'tree>
impl<'tree> FromNode<'tree> for SimpleType<'tree>
Source§impl<'tree> PartialEq for SimpleType<'tree>
impl<'tree> PartialEq for SimpleType<'tree>
Source§impl Spanned for SimpleType<'_>
impl Spanned for SimpleType<'_>
impl<'tree> Eq for SimpleType<'tree>
impl<'tree> StructuralPartialEq for SimpleType<'tree>
Auto Trait Implementations§
impl<'tree> Freeze for SimpleType<'tree>
impl<'tree> RefUnwindSafe for SimpleType<'tree>
impl<'tree> Send for SimpleType<'tree>
impl<'tree> Sync for SimpleType<'tree>
impl<'tree> Unpin for SimpleType<'tree>
impl<'tree> UnsafeUnpin for SimpleType<'tree>
impl<'tree> UnwindSafe for SimpleType<'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