pub struct RenderGraph {
pub root: LayerNode,
}Fields§
§root: LayerNodeImplementations§
Source§impl RenderGraph
impl RenderGraph
pub fn new(root: LayerNode) -> Self
pub fn node_count(&self) -> usize
pub fn heap_bytes(&self) -> usize
Sourcepub fn collect_retained_visual_observation_nodes(
&self,
nodes: &mut HashSet<NodeId>,
)
pub fn collect_retained_visual_observation_nodes( &self, nodes: &mut HashSet<NodeId>, )
Replaces the set with the graph’s visual observation owners, retaining its capacity.
Trait Implementations§
Source§impl Clone for RenderGraph
impl Clone for RenderGraph
Source§fn clone(&self) -> RenderGraph
fn clone(&self) -> RenderGraph
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl !RefUnwindSafe for RenderGraph
impl !Send for RenderGraph
impl !Sync for RenderGraph
impl !UnwindSafe for RenderGraph
impl Freeze for RenderGraph
impl Unpin for RenderGraph
impl UnsafeUnpin for RenderGraph
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