pub struct AccelerationStructureLeaseNode { /* 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 AccelerationStructureLeaseNode
impl Clone for AccelerationStructureLeaseNode
Source§fn clone(&self) -> AccelerationStructureLeaseNode
fn clone(&self) -> AccelerationStructureLeaseNode
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 AccelerationStructureLeaseNode
impl Eq for AccelerationStructureLeaseNode
Source§impl From<AccelerationStructureLeaseNode> for AnyAccelerationStructureNode
impl From<AccelerationStructureLeaseNode> for AnyAccelerationStructureNode
Source§fn from(node: AccelerationStructureLeaseNode) -> Self
fn from(node: AccelerationStructureLeaseNode) -> Self
Converts to this type from the input type.
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<'a> From<AccelerationStructureLeaseNode> for RecordSelection<'a>
impl<'a> From<AccelerationStructureLeaseNode> for RecordSelection<'a>
Source§fn from(node: AccelerationStructureLeaseNode) -> Self
fn from(node: AccelerationStructureLeaseNode) -> Self
Converts to this type from the input type.
Source§impl Node for AccelerationStructureLeaseNode
impl Node for AccelerationStructureLeaseNode
Source§type Resource = Arc<Lease<AccelerationStructure>>
type Resource = Arc<Lease<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 AccelerationStructureLeaseNode
impl Ord for AccelerationStructureLeaseNode
Source§fn cmp(&self, other: &AccelerationStructureLeaseNode) -> Ordering
fn cmp(&self, other: &AccelerationStructureLeaseNode) -> 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 AccelerationStructureLeaseNode
impl PartialEq for AccelerationStructureLeaseNode
Source§fn eq(&self, other: &AccelerationStructureLeaseNode) -> bool
fn eq(&self, other: &AccelerationStructureLeaseNode) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for AccelerationStructureLeaseNode
impl PartialOrd for AccelerationStructureLeaseNode
impl StructuralPartialEq for AccelerationStructureLeaseNode
Source§impl Subresource for AccelerationStructureLeaseNode
impl Subresource for AccelerationStructureLeaseNode
Source§type Info = <AccelerationStructureLeaseNode as Subresource>::Range
type Info = <AccelerationStructureLeaseNode as Subresource>::Range
The information about the subresource when bound directly to shader descriptors.
Auto Trait Implementations§
impl Freeze for AccelerationStructureLeaseNode
impl RefUnwindSafe for AccelerationStructureLeaseNode
impl Send for AccelerationStructureLeaseNode
impl Sync for AccelerationStructureLeaseNode
impl Unpin for AccelerationStructureLeaseNode
impl UnsafeUnpin for AccelerationStructureLeaseNode
impl UnwindSafe for AccelerationStructureLeaseNode
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