Enum screen_13::graph::node::AnyAccelerationStructureNode
source · 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§
source§impl Clone for AnyAccelerationStructureNode
impl Clone for AnyAccelerationStructureNode
source§impl Debug for AnyAccelerationStructureNode
impl Debug for AnyAccelerationStructureNode
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<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<'a> Index<AnyAccelerationStructureNode> for Bindings<'a>
impl<'a> Index<AnyAccelerationStructureNode> for Bindings<'a>
§type Output = AccelerationStructure
type Output = AccelerationStructure
The returned type after indexing.
source§impl Node for AnyAccelerationStructureNode
impl Node for AnyAccelerationStructureNode
source§impl 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§
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
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait>
(where Trait: Downcast
) to Box<dyn Any>
. Box<dyn Any>
can
then be further downcast
into Box<ConcreteType>
where ConcreteType
implements Trait
.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait>
(where Trait: Downcast
) to Rc<Any>
. Rc<Any>
can then be
further downcast
into Rc<ConcreteType>
where ConcreteType
implements Trait
.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &Any
’s vtable from &Trait
’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &mut Any
’s vtable from &mut Trait
’s.