pub enum TextItem {
Str(Vec<u8>),
Offset(f32),
}Expand description
One element of a TJ (show text with adjustments) array.
Variants§
Str(Vec<u8>)
A string to show.
Offset(f32)
A position adjustment in thousandths of text-space units.
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