pub(crate) struct EmbeddedRefs {
pub font: Ref,
pub cid_font: Ref,
pub descriptor: Ref,
pub font_file: Ref,
pub to_unicode: Ref,
}Expand description
PDF objects emitted for one embedded face. The 5 refs are allocated up front so the cross-references resolve.
Fields§
§font: Ref§cid_font: Ref§descriptor: Ref§font_file: Ref§to_unicode: RefTrait Implementations§
Source§impl Clone for EmbeddedRefs
impl Clone for EmbeddedRefs
Source§fn clone(&self) -> EmbeddedRefs
fn clone(&self) -> EmbeddedRefs
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 EmbeddedRefs
impl Debug for EmbeddedRefs
impl Copy for EmbeddedRefs
Auto Trait Implementations§
impl Freeze for EmbeddedRefs
impl RefUnwindSafe for EmbeddedRefs
impl Send for EmbeddedRefs
impl Sync for EmbeddedRefs
impl Unpin for EmbeddedRefs
impl UnsafeUnpin for EmbeddedRefs
impl UnwindSafe for EmbeddedRefs
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,
§impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
§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.