pub struct TextLayoutCacheSnapshot {
pub entries: usize,
pub hits: usize,
pub misses: usize,
}Fields§
§entries: usize§hits: usize§misses: usizeImplementations§
Trait Implementations§
Source§impl Clone for TextLayoutCacheSnapshot
impl Clone for TextLayoutCacheSnapshot
Source§fn clone(&self) -> TextLayoutCacheSnapshot
fn clone(&self) -> TextLayoutCacheSnapshot
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for TextLayoutCacheSnapshot
Source§impl Debug for TextLayoutCacheSnapshot
impl Debug for TextLayoutCacheSnapshot
Source§impl Default for TextLayoutCacheSnapshot
impl Default for TextLayoutCacheSnapshot
Source§fn default() -> TextLayoutCacheSnapshot
fn default() -> TextLayoutCacheSnapshot
Returns the “default value” for a type. Read more
impl Eq for TextLayoutCacheSnapshot
Source§impl PartialEq for TextLayoutCacheSnapshot
impl PartialEq for TextLayoutCacheSnapshot
impl StructuralPartialEq for TextLayoutCacheSnapshot
Auto Trait Implementations§
impl Freeze for TextLayoutCacheSnapshot
impl RefUnwindSafe for TextLayoutCacheSnapshot
impl Send for TextLayoutCacheSnapshot
impl Sync for TextLayoutCacheSnapshot
impl Unpin for TextLayoutCacheSnapshot
impl UnsafeUnpin for TextLayoutCacheSnapshot
impl UnwindSafe for TextLayoutCacheSnapshot
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