pub struct SimpleBlock {
pub kind: BlockKind,
pub value: Vec<ComponentValue>,
}Expand description
§5.2 L1710-1719: A simple block has an associated token (the opening token) and a value (list of component values).
Fields§
§kind: BlockKindWhich kind of block this is: {}, [], or ().
value: Vec<ComponentValue>The component values inside the block.
Trait Implementations§
Source§impl Clone for SimpleBlock
impl Clone for SimpleBlock
Auto Trait Implementations§
impl Forget for SimpleBlock
impl Freeze for SimpleBlock
impl RefUnwindSafe for SimpleBlock
impl Send for SimpleBlock
impl Sync for SimpleBlock
impl Unpin for SimpleBlock
impl UnsafeUnpin for SimpleBlock
impl UnwindSafe for SimpleBlock
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