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