pub struct Instance<'tree> {
pub span: Span,
pub context: Option<Context<'tree>>,
pub declarations: Option<InstanceDeclarations<'tree>>,
pub forall: Option<InstanceForall<'tree>>,
pub name: Option<InstanceName<'tree>>,
pub patterns: Option<TypePatterns<'tree>>,
pub children: Option<InstanceChildren<'tree>>,
}Fields§
§span: Span§context: Option<Context<'tree>>§declarations: Option<InstanceDeclarations<'tree>>§forall: Option<InstanceForall<'tree>>§name: Option<InstanceName<'tree>>§patterns: Option<TypePatterns<'tree>>§children: Option<InstanceChildren<'tree>>Trait Implementations§
impl<'tree> Eq for Instance<'tree>
impl<'tree> StructuralPartialEq for Instance<'tree>
Auto Trait Implementations§
impl<'tree> Freeze for Instance<'tree>
impl<'tree> RefUnwindSafe for Instance<'tree>
impl<'tree> Send for Instance<'tree>
impl<'tree> Sync for Instance<'tree>
impl<'tree> Unpin for Instance<'tree>
impl<'tree> UnsafeUnpin for Instance<'tree>
impl<'tree> UnwindSafe for Instance<'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