Enum webrender_api::DocumentMsg
[−]
[src]
pub enum DocumentMsg {
HitTest(Option<PipelineId>, WorldPoint, HitTestFlags, MsgSender<HitTestResult>),
SetDisplayList {
list_descriptor: BuiltDisplayListDescriptor,
epoch: Epoch,
pipeline_id: PipelineId,
background: Option<ColorF>,
viewport_size: LayoutSize,
content_size: LayoutSize,
preserve_frame_state: bool,
resources: ResourceUpdates,
},
UpdateResources(ResourceUpdates),
UpdatePipelineResources {
resources: ResourceUpdates,
pipeline_id: PipelineId,
epoch: Epoch,
},
UpdateEpoch(PipelineId, Epoch),
SetPageZoom(ZoomFactor),
SetPinchZoom(ZoomFactor),
SetPan(DeviceIntPoint),
SetRootPipeline(PipelineId),
RemovePipeline(PipelineId),
EnableFrameOutput(PipelineId, bool),
SetWindowParameters {
window_size: DeviceUintSize,
inner_rect: DeviceUintRect,
device_pixel_ratio: f32,
},
Scroll(ScrollLocation, WorldPoint, ScrollEventPhase),
ScrollNodeWithId(LayoutPoint, ClipId, ScrollClamping),
TickScrollingBounce,
GetScrollNodeState(MsgSender<Vec<ScrollLayerState>>),
GenerateFrame,
UpdateDynamicProperties(DynamicProperties),
}Variants
HitTest(Option<PipelineId>, WorldPoint, HitTestFlags, MsgSender<HitTestResult>)SetDisplayListFields of SetDisplayList
list_descriptor: BuiltDisplayListDescriptor | |
epoch: Epoch | |
pipeline_id: PipelineId | |
background: Option<ColorF> | |
viewport_size: LayoutSize | |
content_size: LayoutSize | |
preserve_frame_state: bool | |
resources: ResourceUpdates |
UpdateResources(ResourceUpdates)UpdatePipelineResourcesFields of UpdatePipelineResources
resources: ResourceUpdates | |
pipeline_id: PipelineId | |
epoch: Epoch |
UpdateEpoch(PipelineId, Epoch)SetPageZoom(ZoomFactor)SetPinchZoom(ZoomFactor)SetPan(DeviceIntPoint)SetRootPipeline(PipelineId)RemovePipeline(PipelineId)EnableFrameOutput(PipelineId, bool)SetWindowParametersFields of SetWindowParameters
window_size: DeviceUintSize | |
inner_rect: DeviceUintRect | |
device_pixel_ratio: f32 |
Scroll(ScrollLocation, WorldPoint, ScrollEventPhase)ScrollNodeWithId(LayoutPoint, ClipId, ScrollClamping)TickScrollingBounceGetScrollNodeState(MsgSender<Vec<ScrollLayerState>>)GenerateFrameUpdateDynamicProperties(DynamicProperties)
Trait Implementations
impl Clone for DocumentMsg[src]
fn clone(&self) -> DocumentMsg[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more