pub struct ResourceManager { /* private fields */ }Expand description
Resource manager for caching PDF objects
Implementations§
Source§impl ResourceManager
impl ResourceManager
Sourcepub fn cache_object(&self, obj_ref: (u32, u16), obj: PdfObject)
pub fn cache_object(&self, obj_ref: (u32, u16), obj: PdfObject)
Cache an object
Sourcepub fn clear_cache(&self)
pub fn clear_cache(&self)
Clear the cache
Auto Trait Implementations§
impl !Freeze for ResourceManager
impl !RefUnwindSafe for ResourceManager
impl Send for ResourceManager
impl !Sync for ResourceManager
impl Unpin for ResourceManager
impl UnwindSafe for ResourceManager
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