pub struct DocumentSeed { /* private fields */ }Expand description
A document’s immutable core, detached from its single-threaded caches:
the file bytes, the merged cross-reference table, the decryption key
material, and the flattened page tree. Send + Sync (asserted in this
module’s tests), which the Document deliberately is not — this is
the value that crosses a thread boundary, one fresh document
materializing from it on each side. See Document::seed,
Document::from_seed and map_pages.
Trait Implementations§
Source§impl Clone for DocumentSeed
impl Clone for DocumentSeed
Source§fn clone(&self) -> DocumentSeed
fn clone(&self) -> DocumentSeed
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for DocumentSeed
impl RefUnwindSafe for DocumentSeed
impl Send for DocumentSeed
impl Sync for DocumentSeed
impl Unpin for DocumentSeed
impl UnsafeUnpin for DocumentSeed
impl UnwindSafe for DocumentSeed
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