pub enum AnyNode {
AccelerationStructure(AnyAccelerationStructureNode),
Buffer(AnyBufferNode),
Image(AnyImageNode),
}Expand description
A type-erased graph node for any buffer, image, or acceleration structure.
Variants§
AccelerationStructure(AnyAccelerationStructureNode)
An acceleration-structure node.
Buffer(AnyBufferNode)
A buffer node.
Image(AnyImageNode)
An image node, including swapchain image nodes.
Trait Implementations§
impl Copy for AnyNode
Source§impl From<AccelerationStructureLeaseNode> for AnyNode
impl From<AccelerationStructureLeaseNode> for AnyNode
Source§fn from(node: AccelerationStructureLeaseNode) -> Self
fn from(node: AccelerationStructureLeaseNode) -> Self
Converts to this type from the input type.
Source§impl From<AccelerationStructureNode> for AnyNode
impl From<AccelerationStructureNode> for AnyNode
Source§fn from(node: AccelerationStructureNode) -> Self
fn from(node: AccelerationStructureNode) -> Self
Converts to this type from the input type.
Source§impl From<AnyAccelerationStructureNode> for AnyNode
impl From<AnyAccelerationStructureNode> for AnyNode
Source§fn from(node: AnyAccelerationStructureNode) -> Self
fn from(node: AnyAccelerationStructureNode) -> Self
Converts to this type from the input type.
Source§impl From<AnyBufferNode> for AnyNode
impl From<AnyBufferNode> for AnyNode
Source§fn from(node: AnyBufferNode) -> Self
fn from(node: AnyBufferNode) -> Self
Converts to this type from the input type.
Source§impl From<AnyImageNode> for AnyNode
impl From<AnyImageNode> for AnyNode
Source§fn from(node: AnyImageNode) -> Self
fn from(node: AnyImageNode) -> Self
Converts to this type from the input type.
Source§impl<'a> From<AnyNode> for RecordSelection<'a>
impl<'a> From<AnyNode> for RecordSelection<'a>
Source§impl From<BufferLeaseNode> for AnyNode
impl From<BufferLeaseNode> for AnyNode
Source§fn from(node: BufferLeaseNode) -> Self
fn from(node: BufferLeaseNode) -> Self
Converts to this type from the input type.
Source§impl From<BufferNode> for AnyNode
impl From<BufferNode> for AnyNode
Source§fn from(node: BufferNode) -> Self
fn from(node: BufferNode) -> Self
Converts to this type from the input type.
Source§impl From<ImageLeaseNode> for AnyNode
impl From<ImageLeaseNode> for AnyNode
Source§fn from(node: ImageLeaseNode) -> Self
fn from(node: ImageLeaseNode) -> Self
Converts to this type from the input type.
Source§impl From<SwapchainImageNode> for AnyNode
impl From<SwapchainImageNode> for AnyNode
Source§fn from(node: SwapchainImageNode) -> Self
fn from(node: SwapchainImageNode) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AnyNode
impl RefUnwindSafe for AnyNode
impl Send for AnyNode
impl Sync for AnyNode
impl Unpin for AnyNode
impl UnsafeUnpin for AnyNode
impl UnwindSafe for AnyNode
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