pub struct ImageNode { /* private fields */ }Expand description
A graph-local handle for a bound resource.
Node handles are only valid with the graph that produced them.
When the checked feature is enabled, using a node with a different graph will
panic immediately.
When checked is disabled, this ownership check is skipped for zero-overhead
builds, so cross-graph node misuse is invalid and may resolve to the wrong resource.
Trait Implementations§
impl Copy for ImageNode
impl Eq for ImageNode
Source§impl From<ImageNode> for AnyImageNode
impl From<ImageNode> for AnyImageNode
Source§impl<'a> From<ImageNode> for RecordSelection<'a>
impl<'a> From<ImageNode> for RecordSelection<'a>
Source§impl Ord for ImageNode
impl Ord for ImageNode
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for ImageNode
impl PartialOrd for ImageNode
impl StructuralPartialEq for ImageNode
Source§impl Subresource for ImageNode
impl Subresource for ImageNode
Source§type Info = ImageViewInfo
type Info = ImageViewInfo
The information about the subresource when bound directly to shader descriptors.
Source§type Range = ImageSubresourceRange
type Range = ImageSubresourceRange
The information about the subresource when used indirectly by any part of a graph.
Auto Trait Implementations§
impl Freeze for ImageNode
impl RefUnwindSafe for ImageNode
impl Send for ImageNode
impl Sync for ImageNode
impl Unpin for ImageNode
impl UnsafeUnpin for ImageNode
impl UnwindSafe for ImageNode
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