pub enum CtxItem {
LibClause(Spanned<Vec<Ident>>),
UseClause(Spanned<Vec<CompoundName>>),
CtxRef(Spanned<Vec<CompoundName>>),
}
Expand description
A context item, multiple of which make up a context clause.
Variants§
LibClause(Spanned<Vec<Ident>>)
UseClause(Spanned<Vec<CompoundName>>)
CtxRef(Spanned<Vec<CompoundName>>)
Trait Implementations§
impl Eq for CtxItem
impl StructuralPartialEq for CtxItem
Auto Trait Implementations§
impl Freeze for CtxItem
impl RefUnwindSafe for CtxItem
impl Send for CtxItem
impl Sync for CtxItem
impl Unpin for CtxItem
impl UnwindSafe for CtxItem
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