pub enum TjElement {
String(Vec<u8>),
Adjustment(f64),
}Expand description
An element of a TJ array operand.
TJ arrays contain a mix of strings (to show) and numeric adjustments (for kerning/spacing).
Variants§
String(Vec<u8>)
A string of bytes to show (each byte is a character code).
Adjustment(f64)
A numeric adjustment in thousandths of a unit of text space. Positive values move left (tighten), negative move right (loosen).
Trait Implementations§
impl StructuralPartialEq for TjElement
Auto Trait Implementations§
impl Freeze for TjElement
impl RefUnwindSafe for TjElement
impl Send for TjElement
impl Sync for TjElement
impl Unpin for TjElement
impl UnsafeUnpin for TjElement
impl UnwindSafe for TjElement
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