pub struct ObjectIndex(pub u32);Expand description
A text object’s position in the page’s flattened object walk.
Two characters share a text object exactly when their indices are equal.
Objects inside form XObjects are numbered in the order the walk reaches
them, so the index is unique across the whole page.
Tuple Fields§
§0: u32Trait Implementations§
Source§impl Clone for ObjectIndex
impl Clone for ObjectIndex
Source§fn clone(&self) -> ObjectIndex
fn clone(&self) -> ObjectIndex
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 moreimpl Copy for ObjectIndex
Source§impl Debug for ObjectIndex
impl Debug for ObjectIndex
impl Eq for ObjectIndex
Source§impl Hash for ObjectIndex
impl Hash for ObjectIndex
Source§impl Ord for ObjectIndex
impl Ord for ObjectIndex
Source§fn cmp(&self, other: &ObjectIndex) -> Ordering
fn cmp(&self, other: &ObjectIndex) -> Ordering
1.21.0 (const: unstable) · 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for ObjectIndex
impl PartialEq for ObjectIndex
Source§impl PartialOrd for ObjectIndex
impl PartialOrd for ObjectIndex
impl StructuralPartialEq for ObjectIndex
Auto Trait Implementations§
impl Freeze for ObjectIndex
impl RefUnwindSafe for ObjectIndex
impl Send for ObjectIndex
impl Sync for ObjectIndex
impl Unpin for ObjectIndex
impl UnsafeUnpin for ObjectIndex
impl UnwindSafe for ObjectIndex
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