pub enum AnyImageNode {
Image(ImageNode),
ImageLease(ImageLeaseNode),
SwapchainImage(SwapchainImageNode),
}Expand description
Specifies either an owned image or an image leased from a pool.
The image may also be a special swapchain type of image.
Variants§
Image(ImageNode)
An owned image.
ImageLease(ImageLeaseNode)
An image leased from a pool.
SwapchainImage(SwapchainImageNode)
A special swapchain image.
Trait Implementations§
Source§impl Clone for AnyImageNode
impl Clone for AnyImageNode
Source§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 Index<AnyImageNode> for Bindings<'_>
impl Index<AnyImageNode> for Bindings<'_>
Source§impl Node for AnyImageNode
impl Node for AnyImageNode
Source§impl View for AnyImageNode
impl View for AnyImageNode
Source§type Information = ImageViewInfo
type Information = ImageViewInfo
The information about the resource interpretation.
Source§type Subresource = ImageSubresourceRange
type Subresource = ImageSubresourceRange
The portion of the resource which is bound.
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 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