pub struct TextRenderCache { /* private fields */ }Implementations§
Source§impl TextRenderCache
impl TextRenderCache
pub fn rasterized_text( &self, engine: &PretextEngine, request: TextRasterRequest<'_>, raster_scale: f32, ) -> Option<Arc<RasterizedText>>
pub fn stats_snapshot(&self) -> RenderStatsSnapshot
pub fn clear(&self)
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for TextRenderCache
impl !RefUnwindSafe for TextRenderCache
impl Send for TextRenderCache
impl Sync for TextRenderCache
impl Unpin for TextRenderCache
impl UnsafeUnpin for TextRenderCache
impl UnwindSafe for TextRenderCache
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