pub struct WrapCache { /* private fields */ }Expand description
Guarda o resultado de Canvas::measure_text_wrapped por texto, estilo e largura: o
layout de uma tela mede os mesmos textos a cada quadro. Cada renderizador tem o seu (as
fontes são dele); recomeça quando as fontes do app mudam e quando passa do limite.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Forget for WrapCache
impl Freeze for WrapCache
impl Move for WrapCache
impl RefUnwindSafe for WrapCache
impl Send for WrapCache
impl Sync for WrapCache
impl Unpin for WrapCache
impl UnsafeUnpin for WrapCache
impl UnwindSafe for WrapCache
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