pub struct Node {
pub id: usize,
pub family: QueueFamilyId,
pub dependencies: Vec<usize>,
pub buffers: HashMap<Id, State<Buffer>>,
pub images: HashMap<Id, State<Image>>,
}
Expand description
Description of node.
Fields§
§id: usize
Id of the node.
family: QueueFamilyId
Family required to execute the node.
dependencies: Vec<usize>
Dependencies of the node. Those are indices of other nodes in array.
buffers: HashMap<Id, State<Buffer>>
Buffer category ids and required state.
images: HashMap<Id, State<Image>>
Image category ids and required state.
Implementations§
Source§impl Node
impl Node
Sourcepub fn family(&self) -> QueueFamilyId
pub fn family(&self) -> QueueFamilyId
Get family on which this node will be executed.
Sourcepub fn dependencies(&self) -> &[usize]
pub fn dependencies(&self) -> &[usize]
Get indices of nodes this node depends on.
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 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)