pub trait ButtonExtension: HasAttributes + Sized {
Show 13 methods
// Provided methods
fn autofocus(self, value: impl IntoAttributeValue) -> Self { ... }
fn disabled(self, value: impl IntoAttributeValue) -> Self { ... }
fn form(self, value: impl IntoAttributeValue) -> Self { ... }
fn formaction(self, value: impl IntoAttributeValue) -> Self { ... }
fn formenctype(self, value: impl IntoAttributeValue) -> Self { ... }
fn formmethod(self, value: impl IntoAttributeValue) -> Self { ... }
fn formnovalidate(self, value: impl IntoAttributeValue) -> Self { ... }
fn formtarget(self, value: impl IntoAttributeValue) -> Self { ... }
fn name(self, value: impl IntoAttributeValue) -> Self { ... }
fn popovertarget(self, value: impl IntoAttributeValue) -> Self { ... }
fn popovertargetaction(self, value: impl IntoAttributeValue) -> Self { ... }
fn value(self, value: impl IntoAttributeValue) -> Self { ... }
fn type(self, value: impl IntoAttributeValue) -> Self { ... }
}
Provided Methods§
fn autofocus(self, value: impl IntoAttributeValue) -> Self
fn disabled(self, value: impl IntoAttributeValue) -> Self
fn form(self, value: impl IntoAttributeValue) -> Self
fn formaction(self, value: impl IntoAttributeValue) -> Self
fn formenctype(self, value: impl IntoAttributeValue) -> Self
fn formmethod(self, value: impl IntoAttributeValue) -> Self
fn formnovalidate(self, value: impl IntoAttributeValue) -> Self
fn formtarget(self, value: impl IntoAttributeValue) -> Self
fn name(self, value: impl IntoAttributeValue) -> Self
fn popovertarget(self, value: impl IntoAttributeValue) -> Self
fn popovertargetaction(self, value: impl IntoAttributeValue) -> Self
fn value(self, value: impl IntoAttributeValue) -> Self
fn type(self, value: impl IntoAttributeValue) -> Self
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.