Struct sv_parser::EnumNameDeclaration
source · pub struct EnumNameDeclaration {
pub nodes: (EnumIdentifier, Option<Bracket<(IntegralNumber, Option<(Symbol, IntegralNumber)>)>>, Option<(Symbol, ConstantExpression)>),
}
Fields§
§nodes: (EnumIdentifier, Option<Bracket<(IntegralNumber, Option<(Symbol, IntegralNumber)>)>>, Option<(Symbol, ConstantExpression)>)
Trait Implementations§
source§impl Clone for EnumNameDeclaration
impl Clone for EnumNameDeclaration
source§fn clone(&self) -> EnumNameDeclaration
fn clone(&self) -> EnumNameDeclaration
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 EnumNameDeclaration
impl Debug for EnumNameDeclaration
source§impl<'a> From<&'a EnumNameDeclaration> for RefNode<'a>
impl<'a> From<&'a EnumNameDeclaration> for RefNode<'a>
source§fn from(x: &'a EnumNameDeclaration) -> RefNode<'a>
fn from(x: &'a EnumNameDeclaration) -> RefNode<'a>
Converts to this type from the input type.
source§impl<'a> From<&'a EnumNameDeclaration> for RefNodes<'a>
impl<'a> From<&'a EnumNameDeclaration> for RefNodes<'a>
source§fn from(x: &'a EnumNameDeclaration) -> RefNodes<'a>
fn from(x: &'a EnumNameDeclaration) -> RefNodes<'a>
Converts to this type from the input type.
source§impl From<EnumNameDeclaration> for AnyNode
impl From<EnumNameDeclaration> for AnyNode
source§fn from(x: EnumNameDeclaration) -> AnyNode
fn from(x: EnumNameDeclaration) -> AnyNode
Converts to this type from the input type.
source§impl<'a> IntoIterator for &'a EnumNameDeclaration
impl<'a> IntoIterator for &'a EnumNameDeclaration
source§impl PartialEq<EnumNameDeclaration> for EnumNameDeclaration
impl PartialEq<EnumNameDeclaration> for EnumNameDeclaration
source§fn eq(&self, other: &EnumNameDeclaration) -> bool
fn eq(&self, other: &EnumNameDeclaration) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.