pub enum TextArrayElement {
Text(Vec<u8>),
Adjustment(f32),
}Expand description
An element in a TJ (show text array) operator.
Variants§
Text(Vec<u8>)
A text string to show.
Adjustment(f32)
A position adjustment (negative = move right in text direction).
Trait Implementations§
Source§impl Clone for TextArrayElement
impl Clone for TextArrayElement
Source§fn clone(&self) -> TextArrayElement
fn clone(&self) -> TextArrayElement
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 moreSource§impl Debug for TextArrayElement
impl Debug for TextArrayElement
Source§impl PartialEq for TextArrayElement
impl PartialEq for TextArrayElement
impl StructuralPartialEq for TextArrayElement
Auto Trait Implementations§
impl Freeze for TextArrayElement
impl RefUnwindSafe for TextArrayElement
impl Send for TextArrayElement
impl Sync for TextArrayElement
impl Unpin for TextArrayElement
impl UnsafeUnpin for TextArrayElement
impl UnwindSafe for TextArrayElement
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