Enum ntcip::dms::multi::JustificationLine
source · pub enum JustificationLine {
Other = 1,
Left = 2,
Center = 3,
Right = 4,
Full = 5,
}
Expand description
Horizontal justification within a line
Variants§
Other = 1
👎Deprecated
Other line justification; deprecated in v2
Left = 2
Left line justification
Center = 3
Center line justification
Right = 4
Right line justification
Full = 5
Full line justification
Implementations§
Trait Implementations§
source§impl Clone for JustificationLine
impl Clone for JustificationLine
source§fn clone(&self) -> JustificationLine
fn clone(&self) -> JustificationLine
Returns a copy 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 JustificationLine
impl Debug for JustificationLine
source§impl Display for JustificationLine
impl Display for JustificationLine
source§impl Ord for JustificationLine
impl Ord for JustificationLine
source§fn cmp(&self, other: &JustificationLine) -> Ordering
fn cmp(&self, other: &JustificationLine) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for JustificationLine
impl PartialEq for JustificationLine
source§fn eq(&self, other: &JustificationLine) -> bool
fn eq(&self, other: &JustificationLine) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for JustificationLine
impl PartialOrd for JustificationLine
source§fn partial_cmp(&self, other: &JustificationLine) -> Option<Ordering>
fn partial_cmp(&self, other: &JustificationLine) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for JustificationLine
impl Eq for JustificationLine
impl StructuralPartialEq for JustificationLine
Auto Trait Implementations§
impl Freeze for JustificationLine
impl RefUnwindSafe for JustificationLine
impl Send for JustificationLine
impl Sync for JustificationLine
impl Unpin for JustificationLine
impl UnwindSafe for JustificationLine
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