Struct webrender::frame_builder::FrameBuildingContext
source · pub struct FrameBuildingContext<'a> {
pub global_device_pixel_scale: DevicePixelScale,
pub scene_properties: &'a SceneProperties,
pub global_screen_world_rect: WorldRect,
pub spatial_tree: &'a SpatialTree,
pub max_local_clip: LayoutRect,
pub debug_flags: DebugFlags,
pub fb_config: &'a FrameBuilderConfig,
pub root_spatial_node_index: SpatialNodeIndex,
}
Fields§
§global_device_pixel_scale: DevicePixelScale
§scene_properties: &'a SceneProperties
§global_screen_world_rect: WorldRect
§spatial_tree: &'a SpatialTree
§max_local_clip: LayoutRect
§debug_flags: DebugFlags
§fb_config: &'a FrameBuilderConfig
§root_spatial_node_index: SpatialNodeIndex
Auto Trait Implementations§
impl<'a> Freeze for FrameBuildingContext<'a>
impl<'a> RefUnwindSafe for FrameBuildingContext<'a>
impl<'a> Send for FrameBuildingContext<'a>
impl<'a> Sync for FrameBuildingContext<'a>
impl<'a> Unpin for FrameBuildingContext<'a>
impl<'a> UnwindSafe for FrameBuildingContext<'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