Struct webrender::visibility::FrameVisibilityState
source · pub struct FrameVisibilityState<'a> {
pub clip_store: &'a mut ClipStore,
pub resource_cache: &'a mut ResourceCache,
pub gpu_cache: &'a mut GpuCache,
pub scratch: &'a mut ScratchBuffer,
pub data_stores: &'a mut DataStores,
pub clip_tree: &'a mut ClipTree,
pub composite_state: &'a mut CompositeState,
pub rg_builder: &'a mut RenderTaskGraphBuilder,
pub surface_stack: Vec<(PictureIndex, SurfaceIndex)>,
}
Fields§
§clip_store: &'a mut ClipStore
§resource_cache: &'a mut ResourceCache
§gpu_cache: &'a mut GpuCache
§scratch: &'a mut ScratchBuffer
§data_stores: &'a mut DataStores
§clip_tree: &'a mut ClipTree
§composite_state: &'a mut CompositeState
§rg_builder: &'a mut RenderTaskGraphBuilder
§surface_stack: Vec<(PictureIndex, SurfaceIndex)>
A stack of currently active off-screen surfaces during the visibility frame traversal.
Implementations§
source§impl<'a> FrameVisibilityState<'a>
impl<'a> FrameVisibilityState<'a>
pub fn push_surface( &mut self, pic_index: PictureIndex, surface_index: SurfaceIndex, )
pub fn pop_surface(&mut self)
Auto Trait Implementations§
impl<'a> Freeze for FrameVisibilityState<'a>
impl<'a> !RefUnwindSafe for FrameVisibilityState<'a>
impl<'a> !Send for FrameVisibilityState<'a>
impl<'a> !Sync for FrameVisibilityState<'a>
impl<'a> Unpin for FrameVisibilityState<'a>
impl<'a> !UnwindSafe for FrameVisibilityState<'a>
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
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