pub struct RsRule<'a>(pub RsProductionList<'a>, pub Option<(Metadata<'a>, RsWeightSpecification<'a>, Option<RsCodeBlock<'a>>)>);Tuple Fields§
§0: RsProductionList<'a>§1: Option<(Metadata<'a>, RsWeightSpecification<'a>, Option<RsCodeBlock<'a>>)>Implementations§
Trait Implementations§
Source§impl<'a: 'b, 'b> IntoIterator for &'b RsRule<'a>
impl<'a: 'b, 'b> IntoIterator for &'b RsRule<'a>
Source§impl<'a: 'b, 'b> Nodes<'a, 'b> for RsRule<'a>
impl<'a: 'b, 'b> Nodes<'a, 'b> for RsRule<'a>
Source§impl<'a> PartialEq for RsRule<'a>
impl<'a> PartialEq for RsRule<'a>
impl<'a> StructuralPartialEq for RsRule<'a>
Auto Trait Implementations§
impl<'a> Freeze for RsRule<'a>
impl<'a> RefUnwindSafe for RsRule<'a>
impl<'a> Send for RsRule<'a>
impl<'a> Sync for RsRule<'a>
impl<'a> Unpin for RsRule<'a>
impl<'a> UnsafeUnpin for RsRule<'a>
impl<'a> UnwindSafe for RsRule<'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