Enum screen_13::graph::node::AnyImageNode
source · 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<'a> Index<AnyImageNode> for Bindings<'a>
impl<'a> Index<AnyImageNode> for Bindings<'a>
source§impl Node for AnyImageNode
impl Node for AnyImageNode
source§impl 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 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
source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
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
)source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)