Struct webrender_api::display_list::DisplayListPayload
source · pub struct DisplayListPayload {
pub items_data: Vec<u8>,
pub cache_data: Vec<u8>,
pub spatial_tree: Vec<u8>,
}
Fields§
§items_data: Vec<u8>
Serde encoded bytes. Mostly DisplayItems, but some mixed in slices.
cache_data: Vec<u8>
Serde encoded DisplayItemCache structs
spatial_tree: Vec<u8>
Serde encoded SpatialTreeItem structs
Implementations§
source§impl DisplayListPayload
impl DisplayListPayload
fn default() -> Self
fn new(capacity: DisplayListCapacity) -> Self
fn clear(&mut self)
fn size_in_bytes(&self) -> usize
fn create_debug_spatial_tree_items(&self) -> Vec<SpatialTreeItem>
Trait Implementations§
source§impl Clone for DisplayListPayload
impl Clone for DisplayListPayload
source§fn clone(&self) -> DisplayListPayload
fn clone(&self) -> DisplayListPayload
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 DisplayListPayload
impl Default for DisplayListPayload
source§fn default() -> DisplayListPayload
fn default() -> DisplayListPayload
Returns the “default value” for a type. Read more
source§impl MallocSizeOf for DisplayListPayload
impl MallocSizeOf for DisplayListPayload
source§fn size_of(&self, ops: &mut MallocSizeOfOps) -> usize
fn size_of(&self, ops: &mut MallocSizeOfOps) -> usize
Measure the heap usage of all descendant heap-allocated structures, but
not the space taken up by the value itself.
Auto Trait Implementations§
impl Freeze for DisplayListPayload
impl RefUnwindSafe for DisplayListPayload
impl Send for DisplayListPayload
impl Sync for DisplayListPayload
impl Unpin for DisplayListPayload
impl UnwindSafe for DisplayListPayload
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