Struct pdf_writer::writers::Encoding
source · [−]pub struct Encoding<'a> { /* private fields */ }
Expand description
Writer for a simple font encoding dictionary.
This struct is created by Type1Font::encoding_custom
and
Type3Font::encoding_custom
.
Implementations
sourceimpl<'a> Encoding<'a>
impl<'a> Encoding<'a>
sourcepub fn base_encoding(&mut self, name: Name<'_>) -> &mut Self
pub fn base_encoding(&mut self, name: Name<'_>) -> &mut Self
Write the BaseEncoding
attribute, from which this encoding is
described through differences.
sourcepub fn differences(&mut self) -> Differences<'_>
pub fn differences(&mut self) -> Differences<'_>
Start writing the /Differences
array.
Methods from Deref<Target = Dict<'a>>
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for Encoding<'a>
impl<'a> Send for Encoding<'a>
impl<'a> Sync for Encoding<'a>
impl<'a> Unpin for Encoding<'a>
impl<'a> !UnwindSafe for Encoding<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more