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§
impl Copy for State
impl Eq for State
impl StructuralPartialEq for State
Auto Trait Implementations§
impl Freeze for State
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