pub enum RenderLayerState {
Pending,
Failed,
Ready((LayerTarget, Pin<Box<dyn Fn() -> LayerSurfaceLayout>>)),
}Expand description
Lifecycle state for a lazily-created render layer.
Variants§
Auto Trait Implementations§
impl !RefUnwindSafe for RenderLayerState
impl !Send for RenderLayerState
impl !Sync for RenderLayerState
impl !UnwindSafe for RenderLayerState
impl Freeze for RenderLayerState
impl Unpin for RenderLayerState
impl UnsafeUnpin for RenderLayerState
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
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Source§impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
Source§fn round_into(self) -> U
fn round_into(self) -> U
Performs the conversion.