pub struct Context<'tree> {
pub span: Span,
pub arrow: ContextArrow,
pub constraint: Option<Constraints<'tree>>,
pub context: Constraint<'tree>,
pub type: Option<QuantifiedType<'tree>>,
}Fields§
§span: Span§arrow: ContextArrow§constraint: Option<Constraints<'tree>>§context: Constraint<'tree>§type: Option<QuantifiedType<'tree>>Trait Implementations§
impl<'tree> Eq for Context<'tree>
impl<'tree> StructuralPartialEq for Context<'tree>
Auto Trait Implementations§
impl<'tree> Freeze for Context<'tree>
impl<'tree> RefUnwindSafe for Context<'tree>
impl<'tree> Send for Context<'tree>
impl<'tree> Sync for Context<'tree>
impl<'tree> Unpin for Context<'tree>
impl<'tree> UnsafeUnpin for Context<'tree>
impl<'tree> UnwindSafe for Context<'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