Enum kodept_core::structure::rlt::BlockLevelNode
source · 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(original: BodiedFunction) -> BlockLevelNode
fn from(original: BodiedFunction) -> BlockLevelNode
Converts to this type from the input type.
source§impl From<ExpressionBlock> for BlockLevelNode
impl From<ExpressionBlock> for BlockLevelNode
source§fn from(original: ExpressionBlock) -> BlockLevelNode
fn from(original: ExpressionBlock) -> BlockLevelNode
Converts to this type from the input type.
source§impl From<InitializedVariable> for BlockLevelNode
impl From<InitializedVariable> for BlockLevelNode
source§fn from(original: InitializedVariable) -> BlockLevelNode
fn from(original: InitializedVariable) -> BlockLevelNode
Converts to this type from the input type.
source§impl From<Operation> for BlockLevelNode
impl From<Operation> for BlockLevelNode
source§fn from(original: Operation) -> BlockLevelNode
fn from(original: Operation) -> BlockLevelNode
Converts to this type from the input type.
source§impl PartialEq for BlockLevelNode
impl PartialEq for BlockLevelNode
source§fn eq(&self, other: &BlockLevelNode) -> bool
fn eq(&self, other: &BlockLevelNode) -> bool
This method tests for
self and other values to be equal, and is used
by ==.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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)