pub enum BlockLevelNode {
InitVar(InitializedVariable),
Block(ExpressionBlock),
Function(BodiedFunction),
Operation(Operation),
}
Variants§
Trait Implementations§
Source§impl Clone for BlockLevelNode
impl Clone for BlockLevelNode
Source§fn clone(&self) -> BlockLevelNode
fn clone(&self) -> BlockLevelNode
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 BlockLevelNode
impl Debug for BlockLevelNode
Source§impl From<BodiedFunction> for BlockLevelNode
impl From<BodiedFunction> for BlockLevelNode
Source§fn from(value: BodiedFunction) -> Self
fn from(value: BodiedFunction) -> Self
Converts to this type from the input type.
Source§impl From<ExpressionBlock> for BlockLevelNode
impl From<ExpressionBlock> for BlockLevelNode
Source§fn from(value: ExpressionBlock) -> Self
fn from(value: ExpressionBlock) -> Self
Converts to this type from the input type.
Source§impl From<InitializedVariable> for BlockLevelNode
impl From<InitializedVariable> for BlockLevelNode
Source§fn from(value: InitializedVariable) -> Self
fn from(value: InitializedVariable) -> Self
Converts to this type from the input type.
Source§impl From<Operation> for BlockLevelNode
impl From<Operation> for BlockLevelNode
Source§impl PartialEq for BlockLevelNode
impl PartialEq for BlockLevelNode
impl StructuralPartialEq for BlockLevelNode
Auto Trait Implementations§
impl Freeze for BlockLevelNode
impl RefUnwindSafe for BlockLevelNode
impl Send for BlockLevelNode
impl Sync for BlockLevelNode
impl Unpin for BlockLevelNode
impl UnwindSafe for BlockLevelNode
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