pub enum LazyObject {
NotLoaded {
offset: u64,
},
Loaded(Arc<PdfObject>),
Loading,
}Expand description
A lazily-loaded PDF object that loads its content on first access
Variants§
NotLoaded
Not yet loaded - contains file offset
Loaded(Arc<PdfObject>)
Loaded and cached
Loading
Currently being loaded (prevents recursive loading)
Auto Trait Implementations§
impl Freeze for LazyObject
impl RefUnwindSafe for LazyObject
impl Send for LazyObject
impl Sync for LazyObject
impl Unpin for LazyObject
impl UnsafeUnpin for LazyObject
impl UnwindSafe for LazyObject
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