pub enum FormControl {
Checkbox,
Number,
Password,
Radio,
Select,
Textarea,
Text,
}
Expand description
FormControl :
Variants§
Trait Implementations§
source§impl Clone for FormControl
impl Clone for FormControl
source§fn clone(&self) -> FormControl
fn clone(&self) -> FormControl
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for FormControl
impl Debug for FormControl
source§impl Default for FormControl
impl Default for FormControl
source§fn default() -> FormControl
fn default() -> FormControl
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for FormControl
impl<'de> Deserialize<'de> for FormControl
source§fn 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
source§impl Hash for FormControl
impl Hash for FormControl
source§impl Ord for FormControl
impl Ord for FormControl
source§fn cmp(&self, other: &FormControl) -> Ordering
fn cmp(&self, other: &FormControl) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for FormControl
impl PartialEq for FormControl
source§fn eq(&self, other: &FormControl) -> bool
fn eq(&self, other: &FormControl) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for FormControl
impl PartialOrd for FormControl
source§fn partial_cmp(&self, other: &FormControl) -> Option<Ordering>
fn partial_cmp(&self, other: &FormControl) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Serialize for FormControl
impl Serialize for FormControl
source§impl ToString for FormControl
impl ToString for FormControl
impl Copy for FormControl
impl Eq for FormControl
impl StructuralPartialEq for FormControl
Auto Trait Implementations§
impl RefUnwindSafe for FormControl
impl Send for FormControl
impl Sync for FormControl
impl Unpin for FormControl
impl UnwindSafe for FormControl
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
source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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.