Struct pdf_writer::writers::Differences [−][src]
pub struct Differences<'a> { /* fields omitted */ }
Expand description
Writer for an encoding differences array.
This struct is created by Encoding::differences
.
Implementations
pub fn consecutive<'n>(
&mut self,
start: u8,
names: impl IntoIterator<Item = Name<'n>>
) -> &mut Self
pub fn consecutive<'n>(
&mut self,
start: u8,
names: impl IntoIterator<Item = Name<'n>>
) -> &mut Self
Maps consecutive character codes starting at start
to the given glyph
names.
Methods from Deref<Target = Array<'a>>
Write an item with a primitive value.
This is a shorthand for array.push().primitive(value)
.
Write a sequence of items with primitive values.