struct RelationContext<'a> {
pair: Pair<'a, Rule>,
line_no: i64,
children: Vec<Box<Rel>>,
input_field_count: usize,
addenda: Addenda<'a>,
}Expand description
Intermediate state for relation parsing: the structural tree data (children, addenda) has been parsed, but the relation’s own grammar pair hasn’t been converted to a protobuf relation yet.
Fields§
§pair: Pair<'a, Rule>§line_no: i64§children: Vec<Box<Rel>>§input_field_count: usize§addenda: Addenda<'a>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> UnsafeUnpin 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