pub enum TextInputMode {
Strict,
Lenient,
}Expand description
Controls how text input is pre-processed before strict parsing.
Variants§
Strict
Do not alter text, return errors on malformed inputs.
Lenient
Run text through the lenient sanitizer before strict parsing.
Trait Implementations§
Source§impl Clone for TextInputMode
impl Clone for TextInputMode
Source§fn clone(&self) -> TextInputMode
fn clone(&self) -> TextInputMode
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 TextInputMode
impl Debug for TextInputMode
Source§impl PartialEq for TextInputMode
impl PartialEq for TextInputMode
impl Copy for TextInputMode
impl Eq for TextInputMode
impl StructuralPartialEq for TextInputMode
Auto Trait Implementations§
impl Freeze for TextInputMode
impl RefUnwindSafe for TextInputMode
impl Send for TextInputMode
impl Sync for TextInputMode
impl Unpin for TextInputMode
impl UnwindSafe for TextInputMode
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
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.