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
sourceimpl Clone for AnyImageNode
impl Clone for AnyImageNode
sourceimpl Debug for AnyImageNode
impl Debug for AnyImageNode
sourceimpl From<ImageLeaseNode> for AnyImageNode
impl From<ImageLeaseNode> for AnyImageNode
sourcefn from(node: ImageLeaseNode) -> Self
fn from(node: ImageLeaseNode) -> Self
Converts to this type from the input type.
sourceimpl From<ImageNode> for AnyImageNode
impl From<ImageNode> for AnyImageNode
sourceimpl From<SwapchainImageNode> for AnyImageNode
impl From<SwapchainImageNode> for AnyImageNode
sourcefn from(node: SwapchainImageNode) -> Self
fn from(node: SwapchainImageNode) -> Self
Converts to this type from the input type.
sourceimpl<'a> Index<AnyImageNode> for Bindings<'a>
impl<'a> Index<AnyImageNode> for Bindings<'a>
sourceimpl Node for AnyImageNode
impl Node for AnyImageNode
sourceimpl View for AnyImageNode
impl View for AnyImageNode
type Information = ImageViewInfo
type Information = ImageViewInfo
The information about the resource interpretation.
type Subresource = ImageSubresource
type Subresource = ImageSubresource
The portion of the resource which is bound.
impl Copy for AnyImageNode
Auto Trait Implementations
impl RefUnwindSafe for AnyImageNode
impl Send for AnyImageNode
impl Sync for AnyImageNode
impl Unpin for AnyImageNode
impl UnwindSafe for AnyImageNode
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more