pub enum InstanceDecl<'tree> {
DataInstance(Box<DataInstance<'tree>>),
Decl(Box<Decl<'tree>>),
TypeInstance(Box<TypeInstance<'tree>>),
}Variants§
DataInstance(Box<DataInstance<'tree>>)
Decl(Box<Decl<'tree>>)
TypeInstance(Box<TypeInstance<'tree>>)
Trait Implementations§
Source§impl<'tree> Clone for InstanceDecl<'tree>
impl<'tree> Clone for InstanceDecl<'tree>
Source§fn clone(&self) -> InstanceDecl<'tree>
fn clone(&self) -> InstanceDecl<'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 InstanceDecl<'tree>
impl<'tree> Debug for InstanceDecl<'tree>
Source§impl<'tree> FromNode<'tree> for InstanceDecl<'tree>
impl<'tree> FromNode<'tree> for InstanceDecl<'tree>
Source§impl<'tree> PartialEq for InstanceDecl<'tree>
impl<'tree> PartialEq for InstanceDecl<'tree>
Source§impl Spanned for InstanceDecl<'_>
impl Spanned for InstanceDecl<'_>
impl<'tree> Eq for InstanceDecl<'tree>
impl<'tree> StructuralPartialEq for InstanceDecl<'tree>
Auto Trait Implementations§
impl<'tree> Freeze for InstanceDecl<'tree>
impl<'tree> RefUnwindSafe for InstanceDecl<'tree>
impl<'tree> Send for InstanceDecl<'tree>
impl<'tree> Sync for InstanceDecl<'tree>
impl<'tree> Unpin for InstanceDecl<'tree>
impl<'tree> UnsafeUnpin for InstanceDecl<'tree>
impl<'tree> UnwindSafe for InstanceDecl<'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