[][src]Enum azul_webrender_api::SceneMsg

pub enum SceneMsg {
    UpdateEpoch(PipelineIdEpoch),
    SetPageZoom(ZoomFactor),
    SetRootPipeline(PipelineId),
    RemovePipeline(PipelineId),
    EnableFrameOutput(PipelineIdbool),
    SetDisplayList {
        list_descriptor: BuiltDisplayListDescriptor,
        list_data: Vec<u8>,
        epoch: Epoch,
        pipeline_id: PipelineId,
        background: Option<ColorF>,
        viewport_size: LayoutSize,
        content_size: LayoutSize,
        preserve_frame_state: bool,
    },
    SetDocumentView {
        device_rect: DeviceIntRect,
        device_pixel_ratio: f32,
    },
    SetQualitySettings {
        settings: QualitySettings,
    },
}

Frame messages affect building the scene.

Variants

UpdateEpoch(PipelineIdEpoch)
SetPageZoom(ZoomFactor)
SetRootPipeline(PipelineId)
RemovePipeline(PipelineId)
EnableFrameOutput(PipelineIdbool)
SetDisplayList

Fields of SetDisplayList

list_descriptor: BuiltDisplayListDescriptor
list_data: Vec<u8>

The serialized display list.

epoch: Epoch
pipeline_id: PipelineId
background: Option<ColorF>
viewport_size: LayoutSize
content_size: LayoutSize
preserve_frame_state: bool
SetDocumentView

Fields of SetDocumentView

device_rect: DeviceIntRect
device_pixel_ratio: f32
SetQualitySettings

Set the current quality / performance configuration for this document.

Fields of SetQualitySettings

settings: QualitySettings

The set of available quality / performance config values.

Trait Implementations

impl Clone for SceneMsg[src]

impl Debug for SceneMsg[src]

impl<'de> Deserialize<'de> for SceneMsg[src]

impl Serialize for SceneMsg[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.