Struct webrender_api::BuiltDisplayList
source · pub struct BuiltDisplayList {
payload: DisplayListPayload,
descriptor: BuiltDisplayListDescriptor,
}
Expand description
A display list.
Fields§
§payload: DisplayListPayload
§descriptor: BuiltDisplayListDescriptor
Implementations§
source§impl BuiltDisplayList
impl BuiltDisplayList
pub fn from_data( payload: DisplayListPayload, descriptor: BuiltDisplayListDescriptor, ) -> Self
pub fn into_data(self) -> (DisplayListPayload, BuiltDisplayListDescriptor)
pub fn items_data(&self) -> &[u8] ⓘ
pub fn cache_data(&self) -> &[u8] ⓘ
pub fn descriptor(&self) -> &BuiltDisplayListDescriptor
pub fn set_send_time_ns(&mut self, time: u64)
pub fn times(&self) -> (u64, u64, u64)
pub fn gecko_display_list_stats(&self) -> (f64, bool)
pub fn total_clip_nodes(&self) -> usize
pub fn total_spatial_nodes(&self) -> usize
pub fn iter(&self) -> BuiltDisplayListIter<'_>
pub fn cache_data_iter(&self) -> BuiltDisplayListIter<'_>
pub fn iter_with_cache<'a>( &'a self, cache: &'a DisplayItemCache, ) -> BuiltDisplayListIter<'a>
pub fn cache_size(&self) -> usize
pub fn size_in_bytes(&self) -> usize
pub fn iter_spatial_tree<F>(&self, f: F)where
F: FnMut(&SpatialTreeItem),
pub fn create_debug_display_items( iterator: BuiltDisplayListIter<'_>, ) -> Vec<DebugDisplayItem>
Trait Implementations§
source§impl Clone for BuiltDisplayList
impl Clone for BuiltDisplayList
source§fn clone(&self) -> BuiltDisplayList
fn clone(&self) -> BuiltDisplayList
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for BuiltDisplayList
impl Default for BuiltDisplayList
source§fn default() -> BuiltDisplayList
fn default() -> BuiltDisplayList
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for BuiltDisplayList
impl RefUnwindSafe for BuiltDisplayList
impl Send for BuiltDisplayList
impl Sync for BuiltDisplayList
impl Unpin for BuiltDisplayList
impl UnwindSafe for BuiltDisplayList
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