pub enum AnyAccelerationStructureNode {
AccelerationStructure(AccelerationStructureNode),
AccelerationStructureLease(AccelerationStructureLeaseNode),
}Expand description
Specifies either an owned acceleration structure or an acceleration structure leased from a pool.
Variants
AccelerationStructure(AccelerationStructureNode)
An owned acceleration structure.
AccelerationStructureLease(AccelerationStructureLeaseNode)
An acceleration structure leased from a pool.
Trait Implementations
sourceimpl Clone for AnyAccelerationStructureNode
impl Clone for AnyAccelerationStructureNode
sourceimpl Debug for AnyAccelerationStructureNode
impl Debug for AnyAccelerationStructureNode
sourceimpl From<AccelerationStructureLeaseNode> for AnyAccelerationStructureNode
impl From<AccelerationStructureLeaseNode> for AnyAccelerationStructureNode
sourcefn from(node: AccelerationStructureLeaseNode) -> Self
fn from(node: AccelerationStructureLeaseNode) -> Self
Converts to this type from the input type.
sourceimpl From<AccelerationStructureNode> for AnyAccelerationStructureNode
impl From<AccelerationStructureNode> for AnyAccelerationStructureNode
sourcefn from(node: AccelerationStructureNode) -> Self
fn from(node: AccelerationStructureNode) -> Self
Converts to this type from the input type.
sourceimpl<'a> Index<AnyAccelerationStructureNode> for Bindings<'a>
impl<'a> Index<AnyAccelerationStructureNode> for Bindings<'a>
type Output = AccelerationStructure
type Output = AccelerationStructure
The returned type after indexing.
sourcefn index(&self, node: AnyAccelerationStructureNode) -> &Self::Output
fn index(&self, node: AnyAccelerationStructureNode) -> &Self::Output
Performs the indexing (
container[index]) operation. Read moresourceimpl Node for AnyAccelerationStructureNode
impl Node for AnyAccelerationStructureNode
sourceimpl View for AnyAccelerationStructureNode
impl View for AnyAccelerationStructureNode
type Information = ()
type Information = ()
The information about the resource interpretation.
type Subresource = ()
type Subresource = ()
The portion of the resource which is bound.
impl Copy for AnyAccelerationStructureNode
Auto Trait Implementations
impl RefUnwindSafe for AnyAccelerationStructureNode
impl Send for AnyAccelerationStructureNode
impl Sync for AnyAccelerationStructureNode
impl Unpin for AnyAccelerationStructureNode
impl UnwindSafe for AnyAccelerationStructureNode
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