Struct webrender_api::display_list::DisplayListWithCache
source · pub struct DisplayListWithCache {
pub display_list: BuiltDisplayList,
cache: DisplayItemCache,
}
Fields§
§display_list: BuiltDisplayList
§cache: DisplayItemCache
Implementations§
source§impl DisplayListWithCache
impl DisplayListWithCache
pub fn iter(&self) -> BuiltDisplayListIter<'_>
pub fn new_from_list(display_list: BuiltDisplayList) -> Self
pub fn update(&mut self, display_list: BuiltDisplayList)
pub fn descriptor(&self) -> &BuiltDisplayListDescriptor
pub fn times(&self) -> (u64, u64, u64)
pub fn items_data(&self) -> &[u8] ⓘ
Trait Implementations§
source§impl Clone for DisplayListWithCache
impl Clone for DisplayListWithCache
source§fn clone(&self) -> DisplayListWithCache
fn clone(&self) -> DisplayListWithCache
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 MallocSizeOf for DisplayListWithCache
impl MallocSizeOf for DisplayListWithCache
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 DisplayListWithCache
impl RefUnwindSafe for DisplayListWithCache
impl Send for DisplayListWithCache
impl Sync for DisplayListWithCache
impl Unpin for DisplayListWithCache
impl UnwindSafe for DisplayListWithCache
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