pub enum Orientation {
Normal,
Rotated,
Inverted,
Bottom,
}Expand description
Orientation of a text or barcode field.
Applies to LabelBuilder::add_text and LabelBuilder::add_barcode.
The rotation is applied clockwise relative to the normal reading direction.
Variants§
Normal
No rotation — standard left-to-right reading direction.
Rotated
Rotated 90 degrees clockwise.
Inverted
Rotated 180 degrees — upside down.
Bottom
Rotated 270 degrees clockwise (read from bottom to top).
Trait Implementations§
Source§impl Clone for Orientation
impl Clone for Orientation
Source§fn clone(&self) -> Orientation
fn clone(&self) -> Orientation
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 Orientation
impl Debug for Orientation
Source§impl Display for Orientation
impl Display for Orientation
Source§impl PartialEq for Orientation
impl PartialEq for Orientation
impl Copy for Orientation
impl StructuralPartialEq for Orientation
Auto Trait Implementations§
impl Freeze for Orientation
impl RefUnwindSafe for Orientation
impl Send for Orientation
impl Sync for Orientation
impl Unpin for Orientation
impl UnsafeUnpin for Orientation
impl UnwindSafe for Orientation
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