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