pub enum Justification {
None = 0,
WordFill = 1,
WordSpace = 2,
LetterSpace = 3,
Hyphenation = 4,
Left = 5,
Centre = 6,
Right = 7,
ItalianHyphenation = 8,
}
Expand description
Valid parameter values to the function JFY
.
Variants§
None = 0
No justification, end of justification of preceding text.
WordFill = 1
Word fill.
WordSpace = 2
Word space.
LetterSpace = 3
Letter space.
Hyphenation = 4
Hyphenation.
Left = 5
Flush to line home position margin.
Centre = 6
Centre between line home position and line limit position margins.
Right = 7
Flush to line limit position margin.
ItalianHyphenation = 8
Italian hyphenation.
Trait Implementations§
source§impl Clone for Justification
impl Clone for Justification
source§fn clone(&self) -> Justification
fn clone(&self) -> Justification
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 Default for Justification
impl Default for Justification
source§fn default() -> Justification
fn default() -> Justification
Returns the “default value” for a type. Read more
source§impl PartialEq for Justification
impl PartialEq for Justification
source§fn eq(&self, other: &Justification) -> bool
fn eq(&self, other: &Justification) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for Justification
impl Eq for Justification
impl StructuralEq for Justification
impl StructuralPartialEq for Justification
Auto Trait Implementations§
impl RefUnwindSafe for Justification
impl Send for Justification
impl Sync for Justification
impl Unpin for Justification
impl UnwindSafe for Justification
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