pub enum SmartDashesType {
Disabled,
Enabled,
}Expand description
Indicates how to handle the intelligent replacement of dashes in text input.
See also:
TextField.smartDashesTypeCupertinoTextField.smartDashesTypeEditableText.smartDashesTypeSmartQuotesType- https://developer.apple.com/documentation/uikit/uitextinputtraits
Variants§
Disabled
Smart dashes is disabled.
This corresponds to the “no” value of UITextSmartDashesType.
Enabled
Smart dashes is enabled.
This corresponds to the “yes” value of UITextSmartDashesType.
Trait Implementations§
Source§impl Clone for SmartDashesType
impl Clone for SmartDashesType
impl Copy for SmartDashesType
Source§impl Debug for SmartDashesType
impl Debug for SmartDashesType
impl Eq for SmartDashesType
Source§impl Hash for SmartDashesType
impl Hash for SmartDashesType
Source§impl PartialEq for SmartDashesType
impl PartialEq for SmartDashesType
impl StructuralPartialEq for SmartDashesType
Auto Trait Implementations§
impl Freeze for SmartDashesType
impl RefUnwindSafe for SmartDashesType
impl Send for SmartDashesType
impl Sync for SmartDashesType
impl Unpin for SmartDashesType
impl UnsafeUnpin for SmartDashesType
impl UnwindSafe for SmartDashesType
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.