#[non_exhaustive]pub enum PrintDirection {
LeftToRight,
RightToLeft,
TopToBottom,
BottomToTop,
}Available on crate feature
decode only.Expand description
Print direction (SWA print-direction field; 2-bit).
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
LeftToRight
Left to right (default).
RightToLeft
Right to left.
TopToBottom
Top to bottom.
BottomToTop
Bottom to top.
Implementations§
Trait Implementations§
Source§impl Clone for PrintDirection
impl Clone for PrintDirection
impl Copy for PrintDirection
Source§impl Debug for PrintDirection
impl Debug for PrintDirection
Source§impl Default for PrintDirection
impl Default for PrintDirection
Source§impl Display for PrintDirection
impl Display for PrintDirection
impl Eq for PrintDirection
Source§impl PartialEq for PrintDirection
impl PartialEq for PrintDirection
Source§impl Serialize for PrintDirection
impl Serialize for PrintDirection
impl StructuralPartialEq for PrintDirection
Auto Trait Implementations§
impl Forget for PrintDirection
impl Freeze for PrintDirection
impl Move for PrintDirection
impl RefUnwindSafe for PrintDirection
impl Send for PrintDirection
impl Sync for PrintDirection
impl Unpin for PrintDirection
impl UnsafeUnpin for PrintDirection
impl UnwindSafe for PrintDirection
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