pub struct RenderPlan { /* private fields */ }Expand description
Compiled execution and lifetime schedule for a render graph.
Implementations§
Source§impl RenderPlan
impl RenderPlan
Sourcepub fn execution_order(&self) -> &[RenderNodeId]
pub fn execution_order(&self) -> &[RenderNodeId]
Reachable nodes in deterministic insertion order.
Sourcepub fn last_use(&self, node: RenderNodeId) -> Option<usize>
pub fn last_use(&self, node: RenderNodeId) -> Option<usize>
Returns the execution position after which a node can be released.
Sourcepub const fn cache_key(&self) -> RenderCacheKey
pub const fn cache_key(&self) -> RenderCacheKey
Returns the structural cache key of the selected output.
Trait Implementations§
Source§impl Clone for RenderPlan
impl Clone for RenderPlan
Auto Trait Implementations§
impl Forget for RenderPlan
impl Freeze for RenderPlanwhere
*const u8 is !null: Freeze,
PhantomData<RenderNodeId>: Freeze,
PhantomData<Option<usize>>: Freeze,
impl Move for RenderPlan
impl RefUnwindSafe for RenderPlan
impl Send for RenderPlanwhere
RawVecInner: Send,
impl Sync for RenderPlanwhere
RawVecInner: Sync,
impl Unpin for RenderPlan
impl UnsafeUnpin for RenderPlanwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<RenderNodeId>: UnsafeUnpin,
PhantomData<Option<usize>>: UnsafeUnpin,
impl UnwindSafe for RenderPlanwhere
RawVecInner: UnwindSafe,
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<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more