Struct screen_13::graph::node::AccelerationStructureLeaseNode
source · pub struct AccelerationStructureLeaseNode { /* private fields */ }
Expand description
Resource node.
Trait Implementations§
source§impl<'a> Bind<&mut RenderGraph, AccelerationStructureLeaseNode> for &'a Arc<Lease<AccelerationStructure>>
impl<'a> Bind<&mut RenderGraph, AccelerationStructureLeaseNode> for &'a Arc<Lease<AccelerationStructure>>
source§fn bind(self, graph: &mut RenderGraph) -> AccelerationStructureLeaseNode
fn bind(self, graph: &mut RenderGraph) -> AccelerationStructureLeaseNode
Binds the resource to a graph-like object. Read more
source§impl Bind<&mut RenderGraph, AccelerationStructureLeaseNode> for Arc<Lease<AccelerationStructure>>
impl Bind<&mut RenderGraph, AccelerationStructureLeaseNode> for Arc<Lease<AccelerationStructure>>
source§fn bind(self, graph: &mut RenderGraph) -> AccelerationStructureLeaseNode
fn bind(self, graph: &mut RenderGraph) -> AccelerationStructureLeaseNode
Binds the resource to a graph-like object. Read more
source§impl Bind<&mut RenderGraph, AccelerationStructureLeaseNode> for Lease<AccelerationStructure>
impl Bind<&mut RenderGraph, AccelerationStructureLeaseNode> for Lease<AccelerationStructure>
source§fn bind(self, graph: &mut RenderGraph) -> AccelerationStructureLeaseNode
fn bind(self, graph: &mut RenderGraph) -> AccelerationStructureLeaseNode
Binds the resource to a graph-like object. Read more
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<'a> Index<AccelerationStructureLeaseNode> for Bindings<'a>
impl<'a> Index<AccelerationStructureLeaseNode> for Bindings<'a>
§type Output = AccelerationStructure
type Output = AccelerationStructure
The returned type after indexing.
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 · 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
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for AccelerationStructureLeaseNode
impl PartialOrd for AccelerationStructureLeaseNode
source§fn partial_cmp(
&self,
other: &AccelerationStructureLeaseNode
) -> Option<Ordering>
fn partial_cmp( &self, other: &AccelerationStructureLeaseNode ) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Unbind<RenderGraph, Arc<Lease<AccelerationStructure>>> for AccelerationStructureLeaseNode
impl Unbind<RenderGraph, Arc<Lease<AccelerationStructure>>> for AccelerationStructureLeaseNode
source§fn unbind(self, graph: &mut RenderGraph) -> Arc<Lease<AccelerationStructure>>
fn unbind(self, graph: &mut RenderGraph) -> Arc<Lease<AccelerationStructure>>
Unbinds the resource from a graph-like object. Read more
source§impl View for AccelerationStructureLeaseNode
impl View for AccelerationStructureLeaseNode
§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 AccelerationStructureLeaseNode
impl Eq for AccelerationStructureLeaseNode
impl StructuralPartialEq for AccelerationStructureLeaseNode
Auto Trait Implementations§
impl RefUnwindSafe for AccelerationStructureLeaseNode
impl Send for AccelerationStructureLeaseNode
impl Sync for AccelerationStructureLeaseNode
impl Unpin 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
§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.