pub enum NumberBoxValidationMode {
InvalidInputOverwritten,
Disabled,
}Expand description
XAML NumberBoxValidationMode: what becomes of text that is not a number, and of values out
of range.
Variants§
InvalidInputOverwritten
Text that is not a number is replaced by the value, and a value out of range is moved to the bound it passed.
Disabled
Text that is not a number stays, and a value out of range is kept.
Trait Implementations§
Source§impl Clone for NumberBoxValidationMode
impl Clone for NumberBoxValidationMode
impl Copy for NumberBoxValidationMode
Source§impl Debug for NumberBoxValidationMode
impl Debug for NumberBoxValidationMode
Source§impl Default for NumberBoxValidationMode
impl Default for NumberBoxValidationMode
impl Eq for NumberBoxValidationMode
Source§impl Hash for NumberBoxValidationMode
impl Hash for NumberBoxValidationMode
Source§impl PartialEq for NumberBoxValidationMode
impl PartialEq for NumberBoxValidationMode
impl StructuralPartialEq for NumberBoxValidationMode
Auto Trait Implementations§
impl Forget for NumberBoxValidationMode
impl Freeze for NumberBoxValidationMode
impl Move for NumberBoxValidationMode
impl RefUnwindSafe for NumberBoxValidationMode
impl Send for NumberBoxValidationMode
impl Sync for NumberBoxValidationMode
impl Unpin for NumberBoxValidationMode
impl UnsafeUnpin for NumberBoxValidationMode
impl UnwindSafe for NumberBoxValidationMode
Blanket Implementations§
Source§impl<T> AnyEq for T
impl<T> AnyEq for T
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.