pub enum SymbolTextTransform {
None,
Uppercase,
Lowercase,
}Expand description
Text transformation applied before shaping and measurement.
Variants§
None
Keep source text unchanged.
Uppercase
Convert text to uppercase.
Lowercase
Convert text to lowercase.
Trait Implementations§
Source§impl Clone for SymbolTextTransform
impl Clone for SymbolTextTransform
Source§fn clone(&self) -> SymbolTextTransform
fn clone(&self) -> SymbolTextTransform
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 SymbolTextTransform
impl Debug for SymbolTextTransform
Source§impl Default for SymbolTextTransform
impl Default for SymbolTextTransform
Source§fn default() -> SymbolTextTransform
fn default() -> SymbolTextTransform
Returns the “default value” for a type. Read more
Source§impl FromFeatureStateProperty for SymbolTextTransform
impl FromFeatureStateProperty for SymbolTextTransform
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 SymbolTextTransform
impl Hash for SymbolTextTransform
Source§impl Ord for SymbolTextTransform
impl Ord for SymbolTextTransform
Source§fn cmp(&self, other: &SymbolTextTransform) -> Ordering
fn cmp(&self, other: &SymbolTextTransform) -> 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 SymbolTextTransform
impl PartialEq for SymbolTextTransform
Source§impl PartialOrd for SymbolTextTransform
impl PartialOrd for SymbolTextTransform
Source§impl StyleInterpolatable for SymbolTextTransform
impl StyleInterpolatable for SymbolTextTransform
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 SymbolTextTransform
impl Eq for SymbolTextTransform
impl StructuralPartialEq for SymbolTextTransform
Auto Trait Implementations§
impl Freeze for SymbolTextTransform
impl RefUnwindSafe for SymbolTextTransform
impl Send for SymbolTextTransform
impl Sync for SymbolTextTransform
impl Unpin for SymbolTextTransform
impl UnsafeUnpin for SymbolTextTransform
impl UnwindSafe for SymbolTextTransform
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