pub struct GroupScope<'a> {
pub path: &'a [(&'a str, usize)],
}Expand description
A scope identifying one group instance, by its repetition at every level
from the root: [("SG4", 1), ("SG8", 2)] is the third SG8 of the second SG4.
When attached to an EvaluationContext via EvaluationContext::with_scope,
scope-aware helpers narrow segment lookups to that instance instead of searching
message-wide.
Fields§
§path: &'a [(&'a str, usize)]Trait Implementations§
Source§impl<'a> Clone for GroupScope<'a>
impl<'a> Clone for GroupScope<'a>
impl<'a> Copy for GroupScope<'a>
Auto Trait Implementations§
impl<'a> Freeze for GroupScope<'a>
impl<'a> RefUnwindSafe for GroupScope<'a>
impl<'a> Send for GroupScope<'a>
impl<'a> Sync for GroupScope<'a>
impl<'a> Unpin for GroupScope<'a>
impl<'a> UnsafeUnpin for GroupScope<'a>
impl<'a> UnwindSafe for GroupScope<'a>
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