pub enum SmartQuotesType {
Disabled,
Enabled,
}Expand description
Indicates how to handle the intelligent replacement of quotes in text input.
See also:
TextField.smartQuotesTypeCupertinoTextField.smartQuotesTypeEditableText.smartQuotesType- https://developer.apple.com/documentation/uikit/uitextinputtraits
Variants§
Disabled
Smart quotes is disabled.
This corresponds to the “no” value of UITextSmartQuotesType.
Enabled
Smart quotes is enabled.
This corresponds to the “yes” value of UITextSmartQuotesType.
Trait Implementations§
Source§impl Clone for SmartQuotesType
impl Clone for SmartQuotesType
impl Copy for SmartQuotesType
Source§impl Debug for SmartQuotesType
impl Debug for SmartQuotesType
impl Eq for SmartQuotesType
Source§impl Hash for SmartQuotesType
impl Hash for SmartQuotesType
Source§impl PartialEq for SmartQuotesType
impl PartialEq for SmartQuotesType
impl StructuralPartialEq for SmartQuotesType
Auto Trait Implementations§
impl Freeze for SmartQuotesType
impl RefUnwindSafe for SmartQuotesType
impl Send for SmartQuotesType
impl Sync for SmartQuotesType
impl Unpin for SmartQuotesType
impl UnsafeUnpin for SmartQuotesType
impl UnwindSafe for SmartQuotesType
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.