pub enum StatementNode {
If(Box<IfStatement>),
Class(Box<ClassStatement>),
}
Variants§
If(Box<IfStatement>)
Class(Box<ClassStatement>)
Trait Implementations§
Source§impl Clone for StatementNode
impl Clone for StatementNode
Source§fn clone(&self) -> StatementNode
fn clone(&self) -> StatementNode
Returns a duplicate 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 StatementNode
impl Debug for StatementNode
Source§impl PartialEq for StatementNode
impl PartialEq for StatementNode
impl StructuralPartialEq for StatementNode
Auto Trait Implementations§
impl Freeze for StatementNode
impl RefUnwindSafe for StatementNode
impl Send for StatementNode
impl Sync for StatementNode
impl Unpin for StatementNode
impl UnwindSafe for StatementNode
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