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 Forget for TextItem
impl Freeze for TextItem
impl Move for TextItem
impl RefUnwindSafe for TextItem
impl Send for TextItemwhere
RawVecInner: Send,
impl Sync for TextItemwhere
RawVecInner: Sync,
impl Unpin for TextItem
impl UnsafeUnpin for TextItem
impl UnwindSafe for TextItemwhere
RawVecInner: UnwindSafe,
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