Enum sv_parser::StructUnion
source · pub enum StructUnion {
Struct(Box<Keyword, Global>),
Union(Box<Keyword, Global>),
UnionTagged(Box<(Keyword, Keyword), Global>),
}
Variants§
Struct(Box<Keyword, Global>)
Union(Box<Keyword, Global>)
UnionTagged(Box<(Keyword, Keyword), Global>)
Trait Implementations§
source§impl Clone for StructUnion
impl Clone for StructUnion
source§fn clone(&self) -> StructUnion
fn clone(&self) -> StructUnion
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 StructUnion
impl Debug for StructUnion
source§impl<'a> From<&'a StructUnion> for RefNode<'a>
impl<'a> From<&'a StructUnion> for RefNode<'a>
source§fn from(x: &'a StructUnion) -> RefNode<'a>
fn from(x: &'a StructUnion) -> RefNode<'a>
Converts to this type from the input type.
source§impl<'a> From<&'a StructUnion> for RefNodes<'a>
impl<'a> From<&'a StructUnion> for RefNodes<'a>
source§fn from(x: &'a StructUnion) -> RefNodes<'a>
fn from(x: &'a StructUnion) -> RefNodes<'a>
Converts to this type from the input type.
source§impl From<StructUnion> for AnyNode
impl From<StructUnion> for AnyNode
source§fn from(x: StructUnion) -> AnyNode
fn from(x: StructUnion) -> AnyNode
Converts to this type from the input type.
source§impl<'a> IntoIterator for &'a StructUnion
impl<'a> IntoIterator for &'a StructUnion
source§impl PartialEq<StructUnion> for StructUnion
impl PartialEq<StructUnion> for StructUnion
source§fn eq(&self, other: &StructUnion) -> bool
fn eq(&self, other: &StructUnion) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.