pub struct BuiltDisplayList { /* private fields */ }
Expand description
A display list.
Implementations§
Source§impl BuiltDisplayList
impl BuiltDisplayList
pub fn from_data(data: Vec<u8>, descriptor: BuiltDisplayListDescriptor) -> Self
pub fn into_data(self) -> (Vec<u8>, BuiltDisplayListDescriptor)
pub fn data(&self) -> &[u8] ⓘ
pub fn item_slice(&self) -> &[u8] ⓘ
pub fn extra_slice(&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 extra_data_iter(&self) -> BuiltDisplayListIter<'_>
pub fn iter_with_cache<'a>( &'a self, cache: &'a DisplayItemCache, ) -> BuiltDisplayListIter<'a>
pub fn cache_size(&self) -> usize
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