pub struct GlyphSourceAddress {
pub stream_ref: (u32, u16),
pub contents_index: u32,
pub operator_index: u32,
pub operand_index: u32,
pub glyph_start: u32,
pub glyph_end: u32,
}Expand description
One glyph’s source address — the same shape as PdfSourceSpan minus the fields
(expected_text, expected_digest) that only become knowable once island grouping has
concatenated a run of glyphs’ decoded text.
Fields§
§stream_ref: (u32, u16)§contents_index: u32§operator_index: u32§operand_index: u32§glyph_start: u32§glyph_end: u32Trait Implementations§
Source§impl Clone for GlyphSourceAddress
impl Clone for GlyphSourceAddress
impl Copy for GlyphSourceAddress
Auto Trait Implementations§
impl Freeze for GlyphSourceAddress
impl RefUnwindSafe for GlyphSourceAddress
impl Send for GlyphSourceAddress
impl Sync for GlyphSourceAddress
impl Unpin for GlyphSourceAddress
impl UnsafeUnpin for GlyphSourceAddress
impl UnwindSafe for GlyphSourceAddress
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<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
Source§fn to_owned_obj(&self, data: FontData<'_>) -> U
fn to_owned_obj(&self, data: FontData<'_>) -> U
Convert this type into
T, using the provided data to resolve any offsets.