pub struct RhsResolveCtx<'a, S> {
pub query_shape: &'a MatchShape,
/* private fields */
}Expand description
Resolver state for an entire rule’s RHS.
Query bindings are read-only. Comprehension locals live in lexical scopes, while their IDs come from rule-wide monotonic allocators so sibling comprehensions and actions can safely reuse source names.
Fields§
§query_shape: &'a MatchShapeImplementations§
Source§impl<'a, S: DenseId> RhsResolveCtx<'a, S>
impl<'a, S: DenseId> RhsResolveCtx<'a, S>
pub fn new<O, L>(query: &'a ResolvedQuery<O, S, L>) -> Self
pub fn local_shape(&self) -> RhsLocalShape
Auto Trait Implementations§
impl<'a, S> Freeze for RhsResolveCtx<'a, S>
impl<'a, S> RefUnwindSafe for RhsResolveCtx<'a, S>
impl<'a, S> Send for RhsResolveCtx<'a, S>
impl<'a, S> Sync for RhsResolveCtx<'a, S>
impl<'a, S> Unpin for RhsResolveCtx<'a, S>
impl<'a, S> UnsafeUnpin for RhsResolveCtx<'a, S>
impl<'a, S> UnwindSafe for RhsResolveCtx<'a, S>
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