pub struct Node {
pub draws: Range<u32>,
pub layer: Option<u32>,
}Expand description
A node in the recorded render graph.
Fields§
§draws: Range<u32>A contiguous (possibly empty) batch of draw commands indexing CommandRecorder::draws.
layer: Option<u32>An optional layer composition, invoked after draws.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Node
impl RefUnwindSafe for Node
impl Send for Node
impl Sync for Node
impl Unpin for Node
impl UnsafeUnpin for Node
impl UnwindSafe for Node
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