pub enum StructUnion {
Struct(Box<Keyword>),
Union(Box<Keyword>),
UnionTagged(Box<(Keyword, Keyword)>),
}
Variants§
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) -> Self
fn from(x: &'a StructUnion) -> Self
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) -> Self
fn from(x: &'a StructUnion) -> Self
Converts to this type from the input type.
source§impl From<StructUnion> for AnyNode
impl From<StructUnion> for AnyNode
source§fn from(x: StructUnion) -> Self
fn from(x: StructUnion) -> Self
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 ==
.