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
Source§fn clone(&self) -> SimpleBlock
fn clone(&self) -> SimpleBlock
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 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