pub struct AccelerationStructureNode { /* private fields */ }Expand description
A graph-local handle for a bound resource.
Node handles are only valid with the graph that produced them.
When the checked feature is enabled, using a node with a different graph will
panic immediately.
When checked is disabled, this ownership check is skipped for zero-overhead
builds, so cross-graph node misuse is invalid and may resolve to the wrong resource.
Trait Implementations§
Source§impl Clone for AccelerationStructureNode
impl Clone for AccelerationStructureNode
Source§fn clone(&self) -> AccelerationStructureNode
fn clone(&self) -> AccelerationStructureNode
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 moreimpl Copy for AccelerationStructureNode
Source§impl Debug for AccelerationStructureNode
impl Debug for AccelerationStructureNode
impl Eq for AccelerationStructureNode
Source§impl From<AccelerationStructureNode> for AnyAccelerationStructureNode
impl From<AccelerationStructureNode> for AnyAccelerationStructureNode
Source§fn from(node: AccelerationStructureNode) -> Self
fn from(node: AccelerationStructureNode) -> 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<'a> From<AccelerationStructureNode> for RecordSelection<'a>
impl<'a> From<AccelerationStructureNode> for RecordSelection<'a>
Source§fn from(node: AccelerationStructureNode) -> Self
fn from(node: AccelerationStructureNode) -> Self
Converts to this type from the input type.
Source§impl Hash for AccelerationStructureNode
impl Hash for AccelerationStructureNode
Source§impl Node for AccelerationStructureNode
impl Node for AccelerationStructureNode
Source§type Resource = Arc<AccelerationStructure>
type Resource = Arc<AccelerationStructure>
The Vulkan buffer, image, or acceleration structure type.
Source§type SyncInfo = AccelerationStructureSyncInfo
type SyncInfo = AccelerationStructureSyncInfo
Synchronization state snapshot returned for this node’s resource type.
Source§impl Ord for AccelerationStructureNode
impl Ord for AccelerationStructureNode
Source§fn cmp(&self, other: &AccelerationStructureNode) -> Ordering
fn cmp(&self, other: &AccelerationStructureNode) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for AccelerationStructureNode
impl PartialEq for AccelerationStructureNode
Source§fn eq(&self, other: &AccelerationStructureNode) -> bool
fn eq(&self, other: &AccelerationStructureNode) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for AccelerationStructureNode
impl PartialOrd for AccelerationStructureNode
impl StructuralPartialEq for AccelerationStructureNode
Source§impl Subresource for AccelerationStructureNode
impl Subresource for AccelerationStructureNode
Source§type Info = <AccelerationStructureNode as Subresource>::Range
type Info = <AccelerationStructureNode as Subresource>::Range
The information about the subresource when bound directly to shader descriptors.
Auto Trait Implementations§
impl Freeze for AccelerationStructureNode
impl RefUnwindSafe for AccelerationStructureNode
impl Send for AccelerationStructureNode
impl Sync for AccelerationStructureNode
impl Unpin for AccelerationStructureNode
impl UnsafeUnpin for AccelerationStructureNode
impl UnwindSafe for AccelerationStructureNode
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