pub enum TextArrayItem {
Text(String),
HexText(String),
Adjustment(f32),
}Expand description
Item in a TJ array (text or positioning adjustment).
Variants§
Text(String)
Text string (literal)
HexText(String)
Hex-encoded text string (for CIDFonts/Unicode)
Adjustment(f32)
Positioning adjustment (negative = move right, positive = move left)
Trait Implementations§
Source§impl Clone for TextArrayItem
impl Clone for TextArrayItem
Source§fn clone(&self) -> TextArrayItem
fn clone(&self) -> TextArrayItem
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 moreAuto Trait Implementations§
impl Freeze for TextArrayItem
impl RefUnwindSafe for TextArrayItem
impl Send for TextArrayItem
impl Sync for TextArrayItem
impl Unpin for TextArrayItem
impl UnwindSafe for TextArrayItem
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