pub enum BlockType {
If(Value),
Basic,
}
Expand description
A block type for creating different kinds of blocks.
Variants§
If(Value)
A basic IF type that uses a value as an expression.
Basic
A basic block with no conditions.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BlockType
impl RefUnwindSafe for BlockType
impl Send for BlockType
impl Sync for BlockType
impl Unpin for BlockType
impl UnwindSafe for BlockType
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