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§
Source§impl<I: Clone, TNode: Clone> Clone for SuccessData<I, TNode>
impl<I: Clone, TNode: Clone> Clone for SuccessData<I, TNode>
Source§fn clone(&self) -> SuccessData<I, TNode>
fn clone(&self) -> SuccessData<I, TNode>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto 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> 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