pub struct ParseCtx { /* private fields */ }Expand description
Per-parse facts discovered from definitions or project declarations.
Implementations§
Source§impl ParseCtx
impl ParseCtx
Sourcepub fn is_empty(&self) -> bool
pub fn is_empty(&self) -> bool
Returns whether the context contains no discovered or declared facts.
Sourcepub fn overlay_declarations(&mut self, declared: &ResolvedDeclarations)
pub fn overlay_declarations(&mut self, declared: &ResolvedDeclarations)
Applies project declarations over discovered facts.
Trait Implementations§
impl Eq for ParseCtx
impl StructuralPartialEq for ParseCtx
Auto Trait Implementations§
impl Freeze for ParseCtx
impl RefUnwindSafe for ParseCtx
impl Send for ParseCtx
impl Sync for ParseCtx
impl Unpin for ParseCtx
impl UnsafeUnpin for ParseCtx
impl UnwindSafe for ParseCtx
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