Struct qt_gui::q_validator::State
source · pub struct State(/* private fields */);
Expand description
This enum type defines the states in which a validated string can exist.
C++ enum: QValidator::State
.
This enum type defines the states in which a validated string can exist.
Implementations§
source§impl State
impl State
sourcepub const Intermediate: State = _
pub const Intermediate: State = _
The string is a plausible intermediate value. (C++ enum variant: Intermediate = 1
)
sourcepub const Acceptable: State = _
pub const Acceptable: State = _
The string is acceptable as a final result; i.e. it is valid. (C++ enum variant: Acceptable = 2
)
Trait Implementations§
source§impl PartialEq for State
impl PartialEq for State
impl Copy for State
impl Eq for State
impl StructuralEq for State
impl StructuralPartialEq for State
Auto Trait Implementations§
impl RefUnwindSafe for State
impl Send for State
impl Sync for State
impl Unpin for State
impl UnwindSafe for State
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