pub struct RenderCaches { /* private fields */ }Expand description
Caches owned by one render session, passed down by the owner.
Scoping the glyph cache here rather than to a process makes the type-3 blue-zone snapping deterministic: it is order-dependent by design, so a shared cache would make output depend on what else had been rendered.
Implementations§
Source§impl RenderCaches
impl RenderCaches
Trait Implementations§
Source§impl Debug for RenderCaches
impl Debug for RenderCaches
Source§impl Default for RenderCaches
impl Default for RenderCaches
Source§fn default() -> RenderCaches
fn default() -> RenderCaches
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for RenderCaches
impl RefUnwindSafe for RenderCaches
impl Send for RenderCaches
impl Sync for RenderCaches
impl Unpin for RenderCaches
impl UnsafeUnpin for RenderCaches
impl UnwindSafe for RenderCaches
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