pub enum AnyImageNode {
Image(ImageNode),
ImageLease(ImageLeaseNode),
SwapchainImage(SwapchainImageNode),
}Expand description
Specifies either an owned image or one obtained from a pool.
The image may also be a special swapchain type of image.
Variants§
Image(ImageNode)
An owned image.
ImageLease(ImageLeaseNode)
An image obtained from a pool.
SwapchainImage(SwapchainImageNode)
A special swapchain image.
Trait Implementations§
Source§impl Clone for AnyImageNode
impl Clone for AnyImageNode
Source§fn clone(&self) -> AnyImageNode
fn clone(&self) -> AnyImageNode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AnyImageNode
impl Debug for AnyImageNode
Source§impl From<ImageLeaseNode> for AnyImageNode
impl From<ImageLeaseNode> for AnyImageNode
Source§fn from(node: ImageLeaseNode) -> Self
fn from(node: ImageLeaseNode) -> Self
Converts to this type from the input type.
Source§impl From<ImageNode> for AnyImageNode
impl From<ImageNode> for AnyImageNode
Source§impl From<SwapchainImageNode> for AnyImageNode
impl From<SwapchainImageNode> for AnyImageNode
Source§fn from(node: SwapchainImageNode) -> Self
fn from(node: SwapchainImageNode) -> Self
Converts to this type from the input type.
Source§impl Node for AnyImageNode
impl Node for AnyImageNode
Source§impl Subresource for AnyImageNode
impl Subresource for AnyImageNode
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.
impl Copy for AnyImageNode
Auto Trait Implementations§
impl Freeze for AnyImageNode
impl RefUnwindSafe for AnyImageNode
impl Send for AnyImageNode
impl Sync for AnyImageNode
impl Unpin for AnyImageNode
impl UnsafeUnpin for AnyImageNode
impl UnwindSafe for AnyImageNode
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