Struct pdf::object::ObjStmInfo
source · pub struct ObjStmInfo {
pub num_objects: usize,
pub first: usize,
pub extends: Option<Ref<Stream<()>>>,
}
Fields§
§num_objects: usize
Number of compressed objects in the stream.
first: usize
The byte offset in the decoded stream, of the first compressed object.
extends: Option<Ref<Stream<()>>>
A reference to an eventual ObjectStream which this ObjectStream extends.
Trait Implementations§
source§impl DataSize for ObjStmInfo
impl DataSize for ObjStmInfo
source§const IS_DYNAMIC: bool = false
const IS_DYNAMIC: bool = false
If
true
, the type has a heap size that can vary at runtime, depending on the actual value.source§const STATIC_HEAP_SIZE: usize = 0usize
const STATIC_HEAP_SIZE: usize = 0usize
The amount of space a value of the type always occupies. If
IS_DYNAMIC
is false, this is
the total amount of heap memory occupied by the value. Otherwise this is a lower bound.source§fn estimate_heap_size(&self) -> usize
fn estimate_heap_size(&self) -> usize
Estimates the size of heap memory taken up by this value. Read more
source§impl Debug for ObjStmInfo
impl Debug for ObjStmInfo
source§impl Default for ObjStmInfo
impl Default for ObjStmInfo
source§fn default() -> ObjStmInfo
fn default() -> ObjStmInfo
Returns the “default value” for a type. Read more
source§impl FromDict for ObjStmInfo
impl FromDict for ObjStmInfo
source§impl Object for ObjStmInfo
impl Object for ObjStmInfo
Auto Trait Implementations§
impl RefUnwindSafe for ObjStmInfo
impl Send for ObjStmInfo
impl Sync for ObjStmInfo
impl Unpin for ObjStmInfo
impl UnwindSafe for ObjStmInfo
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