pub enum NodeKind {
Plain {
body: Block,
},
Container {
ctype: ContainerType,
ctype_span: Span,
body: Block,
},
Call {
callee: Ident,
args: Vec<Expr>,
body: Option<Block>,
},
}Variants§
Plain
cpu { ... } or bare cpu (empty body).
Container
gpus: row { ... } / cores: grid 2x4 { ... }
Call
gpu(i) or g0: gpu(0) { overrides }
Trait Implementations§
Auto Trait Implementations§
impl Freeze for NodeKind
impl RefUnwindSafe for NodeKind
impl Send for NodeKind
impl Sync for NodeKind
impl Unpin for NodeKind
impl UnsafeUnpin for NodeKind
impl UnwindSafe for NodeKind
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