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) -> RefNode<'a>
fn from(x: &'a FunctionStatementOrNull) -> RefNode<'a>
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) -> RefNodes<'a>
fn from(x: &'a FunctionStatementOrNull) -> RefNodes<'a>
Converts to this type from the input type.
source§impl From<FunctionStatementOrNull> for AnyNode
impl From<FunctionStatementOrNull> for AnyNode
source§fn from(x: FunctionStatementOrNull) -> AnyNode
fn from(x: FunctionStatementOrNull) -> AnyNode
Converts to this type from the input type.
source§impl<'a> IntoIterator for &'a FunctionStatementOrNull
impl<'a> IntoIterator for &'a FunctionStatementOrNull
source§impl PartialEq for FunctionStatementOrNull
impl PartialEq 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 ==
.source§impl<'a> TryFrom<&'a FunctionStatementOrNull> for Locate
impl<'a> TryFrom<&'a FunctionStatementOrNull> for Locate
source§impl TryFrom<AnyNode> for FunctionStatementOrNull
impl TryFrom<AnyNode> for FunctionStatementOrNull
source§impl TryFrom<FunctionStatementOrNull> for Locate
impl TryFrom<FunctionStatementOrNull> for Locate
impl StructuralPartialEq for FunctionStatementOrNull
Auto Trait Implementations§
impl RefUnwindSafe for FunctionStatementOrNull
impl Send for FunctionStatementOrNull
impl Sync for FunctionStatementOrNull
impl Unpin for FunctionStatementOrNull
impl UnwindSafe for FunctionStatementOrNull
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