pub enum BlockItemNode {
Positional {
child: u32,
},
Named {
name: &'static str,
child: u32,
},
}Expand description
One item of a block(...) (§7.5), in plan form.
Variants§
Positional
A positional parser. A named-capture template’s fields flatten into the block record (the runtime reads the record’s fields from the produced value); any other positional must have been named (validation rejects).
Named
A named item contributing one field.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BlockItemNode
impl RefUnwindSafe for BlockItemNode
impl Send for BlockItemNode
impl Sync for BlockItemNode
impl Unpin for BlockItemNode
impl UnsafeUnpin for BlockItemNode
impl UnwindSafe for BlockItemNode
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