pub enum SceneMsg {
UpdateEpoch(PipelineId, Epoch),
SetRootPipeline(PipelineId),
RemovePipeline(PipelineId),
SetDisplayList {
display_list: BuiltDisplayList,
epoch: Epoch,
pipeline_id: PipelineId,
background: Option<ColorF>,
viewport_size: LayoutSize,
preserve_frame_state: bool,
},
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