Enum accesskit::InvalidState
source · [−]Expand description
Indicates if a form control has invalid input or if a web DOM element has an
aria-invalid
attribute.
Variants
False
True
Other(Box<str>)
Trait Implementations
sourceimpl Clone for InvalidState
impl Clone for InvalidState
sourcefn clone(&self) -> InvalidState
fn clone(&self) -> InvalidState
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for InvalidState
impl Debug for InvalidState
sourceimpl<'de> Deserialize<'de> for InvalidState
impl<'de> Deserialize<'de> for InvalidState
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl JsonSchema for InvalidState
impl JsonSchema for InvalidState
sourcefn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
sourcefn json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
sourcefn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref
keyword. Read moresourceimpl PartialEq<InvalidState> for InvalidState
impl PartialEq<InvalidState> for InvalidState
sourcefn eq(&self, other: &InvalidState) -> bool
fn eq(&self, other: &InvalidState) -> bool
sourceimpl Serialize for InvalidState
impl Serialize for InvalidState
impl Eq for InvalidState
impl StructuralEq for InvalidState
impl StructuralPartialEq for InvalidState
Auto Trait Implementations
impl RefUnwindSafe for InvalidState
impl Send for InvalidState
impl Sync for InvalidState
impl Unpin for InvalidState
impl UnwindSafe for InvalidState
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more