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 for EnumNameDeclaration
impl PartialEq 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 ==
.source§impl<'a> TryFrom<&'a EnumNameDeclaration> for Locate
impl<'a> TryFrom<&'a EnumNameDeclaration> for Locate
source§impl TryFrom<AnyNode> for EnumNameDeclaration
impl TryFrom<AnyNode> for EnumNameDeclaration
source§impl TryFrom<EnumNameDeclaration> for Locate
impl TryFrom<EnumNameDeclaration> for Locate
impl StructuralPartialEq for EnumNameDeclaration
Auto Trait Implementations§
impl RefUnwindSafe for EnumNameDeclaration
impl Send for EnumNameDeclaration
impl Sync for EnumNameDeclaration
impl Unpin for EnumNameDeclaration
impl UnwindSafe for EnumNameDeclaration
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