pub enum LayoutFlag {
Kerning,
FullWidth,
ForceSmush,
FontDefaultSmush,
OverlapOnly,
Explicit(i32),
}Expand description
One occurrence of a layout-class flag, captured in argv order so
LayoutResolver::resolve can apply last-wins semantics per FR-023.
Variants§
Kerning
-k
FullWidth
-W
ForceSmush
-S — force smush per font’s smush rules.
FontDefaultSmush
-s — use the font’s default smush.
OverlapOnly
-o — overlap only.
Explicit(i32)
-m N — explicit bitfield.
Trait Implementations§
Source§impl Clone for LayoutFlag
impl Clone for LayoutFlag
Source§fn clone(&self) -> LayoutFlag
fn clone(&self) -> LayoutFlag
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 LayoutFlag
impl Debug for LayoutFlag
Source§impl PartialEq for LayoutFlag
impl PartialEq for LayoutFlag
Source§fn eq(&self, other: &LayoutFlag) -> bool
fn eq(&self, other: &LayoutFlag) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for LayoutFlag
impl Eq for LayoutFlag
impl StructuralPartialEq for LayoutFlag
Auto Trait Implementations§
impl Freeze for LayoutFlag
impl RefUnwindSafe for LayoutFlag
impl Send for LayoutFlag
impl Sync for LayoutFlag
impl Unpin for LayoutFlag
impl UnsafeUnpin for LayoutFlag
impl UnwindSafe for LayoutFlag
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