pub enum TypeButton {
Submit,
Reset,
Button,
}Expand description
Create (or replace) a type attribute
(<button>).
Variants§
Trait Implementations§
Source§impl Clone for TypeButton
impl Clone for TypeButton
Source§fn clone(&self) -> TypeButton
fn clone(&self) -> TypeButton
Returns a duplicate 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 TypeButton
impl Debug for TypeButton
Source§impl Display for TypeButton
impl Display for TypeButton
Source§impl ElementComponent for TypeButton
impl ElementComponent for TypeButton
Source§fn add_to_element(self, element: &mut Element)
fn add_to_element(self, element: &mut Element)
Add a component to an element, consuming the component in the process.
Source§impl PartialEq for TypeButton
impl PartialEq for TypeButton
impl Copy for TypeButton
impl Eq for TypeButton
impl StructuralPartialEq for TypeButton
Auto Trait Implementations§
impl Freeze for TypeButton
impl RefUnwindSafe for TypeButton
impl Send for TypeButton
impl Sync for TypeButton
impl Unpin for TypeButton
impl UnwindSafe for TypeButton
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