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