pub enum RsProductionList<'a> {
Producers(Box<(RsProd<'a>, Vec<RsProd<'a>>)>),
Join(Box<(Metadata<'a>, Metadata<'a>, Option<(Metadata<'a>, Expression<'a>, Metadata<'a>)>, RsProductionItem<'a>, RsProductionItem<'a>, Vec<RsProductionItem<'a>>)>),
}Variants§
Producers(Box<(RsProd<'a>, Vec<RsProd<'a>>)>)
Join(Box<(Metadata<'a>, Metadata<'a>, Option<(Metadata<'a>, Expression<'a>, Metadata<'a>)>, RsProductionItem<'a>, RsProductionItem<'a>, Vec<RsProductionItem<'a>>)>)
Implementations§
Source§impl<'a: 'b, 'b> RsProductionList<'a>
impl<'a: 'b, 'b> RsProductionList<'a>
Sourcepub fn iter(&'b self) -> NodeIter<'a, 'b> ⓘ
pub fn iter(&'b self) -> NodeIter<'a, 'b> ⓘ
Iterate across the RsProductionList and its children
Trait Implementations§
Source§impl<'a> Clone for RsProductionList<'a>
impl<'a> Clone for RsProductionList<'a>
Source§fn clone(&self) -> RsProductionList<'a>
fn clone(&self) -> RsProductionList<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a> Debug for RsProductionList<'a>
impl<'a> Debug for RsProductionList<'a>
Source§impl<'a: 'b, 'b> From<&'b RsProductionList<'a>> for Node<'a, 'b>
impl<'a: 'b, 'b> From<&'b RsProductionList<'a>> for Node<'a, 'b>
Source§fn from(value: &'b RsProductionList<'a>) -> Self
fn from(value: &'b RsProductionList<'a>) -> Self
Converts to this type from the input type.
Source§impl<'a: 'b, 'b> IntoIterator for &'b RsProductionList<'a>
impl<'a: 'b, 'b> IntoIterator for &'b RsProductionList<'a>
Source§impl<'a: 'b, 'b> Nodes<'a, 'b> for RsProductionList<'a>
impl<'a: 'b, 'b> Nodes<'a, 'b> for RsProductionList<'a>
Source§impl<'a> PartialEq for RsProductionList<'a>
impl<'a> PartialEq for RsProductionList<'a>
Source§fn eq(&self, other: &RsProductionList<'a>) -> bool
fn eq(&self, other: &RsProductionList<'a>) -> bool
Tests for
self and other values to be equal, and is used by ==.impl<'a> StructuralPartialEq for RsProductionList<'a>
Auto Trait Implementations§
impl<'a> Freeze for RsProductionList<'a>
impl<'a> RefUnwindSafe for RsProductionList<'a>
impl<'a> Send for RsProductionList<'a>
impl<'a> Sync for RsProductionList<'a>
impl<'a> Unpin for RsProductionList<'a>
impl<'a> UnsafeUnpin for RsProductionList<'a>
impl<'a> UnwindSafe for RsProductionList<'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