pub struct SuccessData<I, TNode> {
pub consumed_index: I,
pub children: Vec<ASTNode<TNode>>,
}Expand description
A Ok result value returned from the production utility when it successfully consume production derivation.
Fields§
§consumed_index: I§children: Vec<ASTNode<TNode>>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<I, TNode> Freeze for SuccessData<I, TNode>where
I: Freeze,
impl<I, TNode> RefUnwindSafe for SuccessData<I, TNode>where
I: RefUnwindSafe,
TNode: RefUnwindSafe,
impl<I, TNode> Send for SuccessData<I, TNode>
impl<I, TNode> Sync for SuccessData<I, TNode>
impl<I, TNode> Unpin for SuccessData<I, TNode>
impl<I, TNode> UnsafeUnpin for SuccessData<I, TNode>where
I: UnsafeUnpin,
impl<I, TNode> UnwindSafe for SuccessData<I, TNode>where
I: UnwindSafe,
TNode: UnwindSafe,
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