pub enum ChunkOrExpressions {
Chunk(Block),
Expressions(Vec<Expression>),
}Expand description
for interpreter to handle both chunk and expression
Variants§
Chunk(Block)
Expressions(Vec<Expression>)
Trait Implementations§
Source§impl Clone for ChunkOrExpressions
impl Clone for ChunkOrExpressions
Source§fn clone(&self) -> ChunkOrExpressions
fn clone(&self) -> ChunkOrExpressions
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 moreAuto Trait Implementations§
impl Freeze for ChunkOrExpressions
impl RefUnwindSafe for ChunkOrExpressions
impl Send for ChunkOrExpressions
impl Sync for ChunkOrExpressions
impl Unpin for ChunkOrExpressions
impl UnwindSafe for ChunkOrExpressions
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