Enum webrender::render_api::SceneMsg
source · pub enum SceneMsg {
UpdateEpoch(PipelineId, Epoch),
SetRootPipeline(PipelineId),
RemovePipeline(PipelineId),
SetDisplayList {
display_list: BuiltDisplayList,
epoch: Epoch,
pipeline_id: PipelineId,
},
SetDocumentView {
device_rect: DeviceIntRect,
},
SetQualitySettings {
settings: QualitySettings,
},
}
Expand description
Frame messages affect building the scene.
Variants§
UpdateEpoch(PipelineId, Epoch)
SetRootPipeline(PipelineId)
RemovePipeline(PipelineId)
SetDisplayList
SetDocumentView
Fields
§
device_rect: DeviceIntRect
SetQualitySettings
Set the current quality / performance configuration for this document.
Fields
§
settings: QualitySettings
The set of available quality / performance config values.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SceneMsg
impl RefUnwindSafe for SceneMsg
impl Send for SceneMsg
impl Sync for SceneMsg
impl Unpin for SceneMsg
impl UnwindSafe for SceneMsg
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