Enum axohtml::types::ButtonType
source · pub enum ButtonType {
Submit,
Reset,
Button,
}
Variants§
Trait Implementations§
source§impl AsRef<str> for ButtonType
impl AsRef<str> for ButtonType
source§impl Display for ButtonType
impl Display for ButtonType
source§impl<'_derivative_strum> From<&'_derivative_strum ButtonType> for &'static str
impl<'_derivative_strum> From<&'_derivative_strum ButtonType> for &'static str
source§fn from(x: &'_derivative_strum ButtonType) -> &'static str
fn from(x: &'_derivative_strum ButtonType) -> &'static str
Converts to this type from the input type.
source§impl From<ButtonType> for &'static str
impl From<ButtonType> for &'static str
source§fn from(x: ButtonType) -> &'static str
fn from(x: ButtonType) -> &'static str
Converts to this type from the input type.
source§impl FromStr for ButtonType
impl FromStr for ButtonType
source§impl Ord for ButtonType
impl Ord for ButtonType
source§fn cmp(&self, other: &ButtonType) -> Ordering
fn cmp(&self, other: &ButtonType) -> 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<ButtonType> for ButtonType
impl PartialEq<ButtonType> for ButtonType
source§fn eq(&self, other: &ButtonType) -> bool
fn eq(&self, other: &ButtonType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<ButtonType> for ButtonType
impl PartialOrd<ButtonType> for ButtonType
source§fn partial_cmp(&self, other: &ButtonType) -> Option<Ordering>
fn partial_cmp(&self, other: &ButtonType) -> 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 more