struct RelationContext<'a> {
pair: Pair<'a, Rule>,
line_no: i64,
children: Vec<Box<Rel>>,
input_field_count: usize,
advanced_extension: Option<AdvancedExtension>,
}Expand description
Intermediate state for relation parsing: the structural tree data (children, addenda) has been processed into proto types, but the relation’s own grammar pair hasn’t been parsed yet.
Fields§
§pair: Pair<'a, Rule>§line_no: i64§children: Vec<Box<Rel>>§input_field_count: usize§advanced_extension: Option<AdvancedExtension>Auto Trait Implementations§
impl<'a> !Freeze for RelationContext<'a>
impl<'a> RefUnwindSafe for RelationContext<'a>
impl<'a> !Send for RelationContext<'a>
impl<'a> !Sync for RelationContext<'a>
impl<'a> Unpin for RelationContext<'a>
impl<'a> UnwindSafe for RelationContext<'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