pub enum TextBoxEvent {
Began,
Changed,
PartiallyInvalid(ValidationError),
Invalid(ValidationError),
Complete,
Cancel,
}
Expand description
Events sent to a ValidationDelegate
.
Variants§
Began
The textbox began editing.
Changed
An edit occurred which was considered valid by the Formatter
.
PartiallyInvalid(ValidationError)
An edit occurred which was rejected by the Formatter
.
Invalid(ValidationError)
The user attempted to finish editing, but the input was not valid.
Complete
The user finished editing, with valid input.
Cancel
Editing was cancelled.
Auto Trait Implementations§
impl !RefUnwindSafe for TextBoxEvent
impl !Send for TextBoxEvent
impl !Sync for TextBoxEvent
impl Unpin for TextBoxEvent
impl !UnwindSafe for TextBoxEvent
Blanket Implementations§
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> RoundFrom<T> for T
impl<T> RoundFrom<T> for T
§fn round_from(x: T) -> T
fn round_from(x: T) -> T
Performs the conversion.
§impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
impl<T, U> RoundInto<U> for Twhere U: RoundFrom<T>,
§fn round_into(self) -> U
fn round_into(self) -> U
Performs the conversion.