pub struct RenderCache { /* private fields */ }Expand description
Cross-page render state: fonts by their dictionary’s object reference,
and parsed ICCBased colorspace outcomes by their profile stream’s.
Send + Sync, so a parallel page walk may share one.
Trait Implementations§
Source§impl Debug for RenderCache
impl Debug for RenderCache
Auto Trait Implementations§
impl !Freeze for RenderCache
impl Forget for RenderCache
impl Move for RenderCache
impl RefUnwindSafe for RenderCachewhere
Mutex<HashMap<FontKey, Option<(Arc<GlyphFont>, Arc<str>, Option<Arc<GlyphFallback>>, FaceId)>, BuildHasherDefault<FxHasher>>>: RefUnwindSafe,
Atomic<usize>: RefUnwindSafe,
Mutex<HashMap<ObjRef, Option<ColorSpace>, BuildHasherDefault<FxHasher>>>: RefUnwindSafe,
impl Send for RenderCache
impl Sync for RenderCache
impl Unpin for RenderCache
impl UnsafeUnpin for RenderCachewhere
Align4<u32>: UnsafeUnpin,
Align1<u8>: UnsafeUnpin,
PhantomData<fn() -> FxHasher>: UnsafeUnpin,
*const u8 is !null: UnsafeUnpin,
PhantomData<(FontKey, Option<(Arc<GlyphFont>, Arc<str>, Option<Arc<GlyphFallback>>, FaceId)>)>: UnsafeUnpin,
*const ArcInner<IccCache> is !null: UnsafeUnpin,
PhantomData<ArcInner<IccCache>>: UnsafeUnpin,
impl UnwindSafe for RenderCachewhere
Mutex<HashMap<FontKey, Option<(Arc<GlyphFont>, Arc<str>, Option<Arc<GlyphFallback>>, FaceId)>, BuildHasherDefault<FxHasher>>>: UnwindSafe,
Arc<IccCache>: UnwindSafe,
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more