pub enum SymbolTextJustify {
Auto,
Left,
Center,
Right,
}Expand description
Horizontal text justification for symbol labels.
Variants§
Auto
Match justification to the effective anchor direction.
Left
Align text toward the left side of the label box.
Center
Center text within the label box.
Right
Align text toward the right side of the label box.
Trait Implementations§
Source§impl Clone for SymbolTextJustify
impl Clone for SymbolTextJustify
Source§fn clone(&self) -> SymbolTextJustify
fn clone(&self) -> SymbolTextJustify
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 SymbolTextJustify
impl Debug for SymbolTextJustify
Source§impl Default for SymbolTextJustify
impl Default for SymbolTextJustify
Source§fn default() -> SymbolTextJustify
fn default() -> SymbolTextJustify
Returns the “default value” for a type. Read more
Source§impl FromFeatureStateProperty for SymbolTextJustify
impl FromFeatureStateProperty for SymbolTextJustify
Source§fn from_feature_state_property(_prop: &PropertyValue) -> Option<Self>
fn from_feature_state_property(_prop: &PropertyValue) -> Option<Self>
Attempt to convert a property value. Returns
None when the
PropertyValue variant does not map to Self.Source§impl Hash for SymbolTextJustify
impl Hash for SymbolTextJustify
Source§impl Ord for SymbolTextJustify
impl Ord for SymbolTextJustify
Source§fn cmp(&self, other: &SymbolTextJustify) -> Ordering
fn cmp(&self, other: &SymbolTextJustify) -> 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 SymbolTextJustify
impl PartialEq for SymbolTextJustify
Source§impl PartialOrd for SymbolTextJustify
impl PartialOrd for SymbolTextJustify
Source§impl StyleInterpolatable for SymbolTextJustify
impl StyleInterpolatable for SymbolTextJustify
Source§fn interpolate(a: &Self, b: &Self, t: f32) -> Self
fn interpolate(a: &Self, b: &Self, t: f32) -> Self
Sample between two stop values.
impl Copy for SymbolTextJustify
impl Eq for SymbolTextJustify
impl StructuralPartialEq for SymbolTextJustify
Auto Trait Implementations§
impl Freeze for SymbolTextJustify
impl RefUnwindSafe for SymbolTextJustify
impl Send for SymbolTextJustify
impl Sync for SymbolTextJustify
impl Unpin for SymbolTextJustify
impl UnsafeUnpin for SymbolTextJustify
impl UnwindSafe for SymbolTextJustify
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