Enum sv_parser::RsProductionList
source · pub enum RsProductionList {
Prod(Box<RsProductionListProd>),
Join(Box<RsProductionListJoin>),
}
Variants§
Prod(Box<RsProductionListProd>)
Join(Box<RsProductionListJoin>)
Trait Implementations§
source§impl Clone for RsProductionList
impl Clone for RsProductionList
source§fn clone(&self) -> RsProductionList
fn clone(&self) -> RsProductionList
Returns a copy 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 moresource§impl Debug for RsProductionList
impl Debug for RsProductionList
source§impl<'a> From<&'a RsProductionList> for RefNode<'a>
impl<'a> From<&'a RsProductionList> for RefNode<'a>
source§fn from(x: &'a RsProductionList) -> RefNode<'a>
fn from(x: &'a RsProductionList) -> RefNode<'a>
Converts to this type from the input type.
source§impl<'a> From<&'a RsProductionList> for RefNodes<'a>
impl<'a> From<&'a RsProductionList> for RefNodes<'a>
source§fn from(x: &'a RsProductionList) -> RefNodes<'a>
fn from(x: &'a RsProductionList) -> RefNodes<'a>
Converts to this type from the input type.
source§impl From<RsProductionList> for AnyNode
impl From<RsProductionList> for AnyNode
source§fn from(x: RsProductionList) -> AnyNode
fn from(x: RsProductionList) -> AnyNode
Converts to this type from the input type.
source§impl<'a> IntoIterator for &'a RsProductionList
impl<'a> IntoIterator for &'a RsProductionList
source§impl PartialEq for RsProductionList
impl PartialEq for RsProductionList
source§fn eq(&self, other: &RsProductionList) -> bool
fn eq(&self, other: &RsProductionList) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<'a> TryFrom<&'a RsProductionList> for Locate
impl<'a> TryFrom<&'a RsProductionList> for Locate
source§impl TryFrom<AnyNode> for RsProductionList
impl TryFrom<AnyNode> for RsProductionList
source§impl TryFrom<RsProductionList> for Locate
impl TryFrom<RsProductionList> for Locate
impl StructuralPartialEq for RsProductionList
Auto Trait Implementations§
impl RefUnwindSafe for RsProductionList
impl Send for RsProductionList
impl Sync for RsProductionList
impl Unpin for RsProductionList
impl UnwindSafe for RsProductionList
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