pub enum TextItem {
Show(Box<[u8]>),
Adjust(f32),
}Expand description
One element of a TJ array: a string to show, or an adjustment in
thousandths of a text-space unit.
Variants§
Show(Box<[u8]>)
A string of character codes.
Adjust(f32)
A displacement subtracted from the current position.
Trait Implementations§
impl StructuralPartialEq for TextItem
Auto Trait Implementations§
impl Freeze for TextItem
impl RefUnwindSafe for TextItem
impl Send for TextItem
impl Sync for TextItem
impl Unpin for TextItem
impl UnsafeUnpin for TextItem
impl UnwindSafe for TextItem
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