pub struct ObjectIdentifier {
pub obj_number: i32,
pub gen_number: i32,
}Expand description
An identifier for a PDF object.
Fields§
§obj_number: i32The object number.
gen_number: i32The generation number.
Implementations§
Trait Implementations§
Source§impl Clone for ObjectIdentifier
impl Clone for ObjectIdentifier
Source§fn clone(&self) -> ObjectIdentifier
fn clone(&self) -> ObjectIdentifier
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ObjectIdentifier
impl Debug for ObjectIdentifier
Source§impl From<ObjRef> for ObjectIdentifier
impl From<ObjRef> for ObjectIdentifier
Source§impl From<ObjectIdentifier> for ObjRef
impl From<ObjectIdentifier> for ObjRef
Source§fn from(value: ObjectIdentifier) -> Self
fn from(value: ObjectIdentifier) -> Self
Converts to this type from the input type.
Source§impl Hash for ObjectIdentifier
impl Hash for ObjectIdentifier
Source§impl Ord for ObjectIdentifier
impl Ord for ObjectIdentifier
Source§fn cmp(&self, other: &ObjectIdentifier) -> Ordering
fn cmp(&self, other: &ObjectIdentifier) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ObjectIdentifier
impl PartialEq for ObjectIdentifier
Source§impl PartialOrd for ObjectIdentifier
impl PartialOrd for ObjectIdentifier
impl Copy for ObjectIdentifier
impl Eq for ObjectIdentifier
impl StructuralPartialEq for ObjectIdentifier
Auto Trait Implementations§
impl Freeze for ObjectIdentifier
impl RefUnwindSafe for ObjectIdentifier
impl Send for ObjectIdentifier
impl Sync for ObjectIdentifier
impl Unpin for ObjectIdentifier
impl UnsafeUnpin for ObjectIdentifier
impl UnwindSafe for ObjectIdentifier
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<'a, T> FromBytes<'a> for Twhere
T: Readable<'a>,
impl<'a, T> FromBytes<'a> for Twhere
T: Readable<'a>,
Source§fn from_bytes(b: &'a [u8]) -> Option<T>
fn from_bytes(b: &'a [u8]) -> Option<T>
Try to read the object from the given bytes.