Trait bevy::render::render_graph::RenderSubGraph
source · pub trait RenderSubGraph: 'static + Send + Sync + Debug {
// Required methods
fn dyn_clone(&self) -> Box<dyn RenderSubGraph>;
fn as_dyn_eq(&self) -> &(dyn DynEq + 'static);
fn dyn_hash(&self, state: &mut dyn Hasher);
// Provided method
fn intern(&self) -> Interned<dyn RenderSubGraph>
where Self: Sized { ... }
}
Expand description
A strongly-typed class of labels used to identify a [SubGraph
] in a render graph.
Required Methods§
sourcefn dyn_clone(&self) -> Box<dyn RenderSubGraph>
fn dyn_clone(&self) -> Box<dyn RenderSubGraph>
Clones this RenderSubGraph
.
Provided Methods§
Trait Implementations§
source§impl Hash for dyn RenderSubGraph
impl Hash for dyn RenderSubGraph
source§impl Internable for dyn RenderSubGraph
impl Internable for dyn RenderSubGraph
source§fn leak(&self) -> &'static dyn RenderSubGraph
fn leak(&self) -> &'static dyn RenderSubGraph
Creates a static reference to
self
, possibly leaking memory.source§fn ref_eq(&self, other: &(dyn RenderSubGraph + 'static)) -> bool
fn ref_eq(&self, other: &(dyn RenderSubGraph + 'static)) -> bool
Returns
true
if the two references point to the same value.source§impl PartialEq for dyn RenderSubGraph
impl PartialEq for dyn RenderSubGraph
source§fn eq(&self, other: &(dyn RenderSubGraph + 'static)) -> bool
fn eq(&self, other: &(dyn RenderSubGraph + 'static)) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.