Struct hypertext::html_elements::select
source · pub struct select;Expand description
A control for selecting amongst a set of options.
Implementations§
source§impl select
impl select
sourcepub const autocomplete: Attribute = crate::attributes::Attribute
pub const autocomplete: Attribute = crate::attributes::Attribute
Hint for form autofill feature
sourcepub const disabled: Attribute = crate::attributes::Attribute
pub const disabled: Attribute = crate::attributes::Attribute
Whether the form control is disabled
sourcepub const form: Attribute = crate::attributes::Attribute
pub const form: Attribute = crate::attributes::Attribute
Associates the element with a form element
sourcepub const name: Attribute = crate::attributes::Attribute
pub const name: Attribute = crate::attributes::Attribute
Name of the element to use for form submission and in the
form.elements API
Trait Implementations§
source§impl GlobalAttributes for select
impl GlobalAttributes for select
source§const access_key: Attribute = Attribute
const access_key: Attribute = Attribute
Used as a guide for creating a keyboard shortcut that activates or
focuses the element.
source§const autocapitalize: Attribute = Attribute
const autocapitalize: Attribute = Attribute
The autocapitalization behavior to use when the text is edited through
non-keyboard methods.
source§const autofocus: Attribute = Attribute
const autofocus: Attribute = Attribute
Indicates whether the element should be automatically focused when the
page is loaded.
source§const contenteditable: Attribute = Attribute
const contenteditable: Attribute = Attribute
Whether the element is editable.
source§const enterkeyhint: Attribute = Attribute
const enterkeyhint: Attribute = Attribute
A hint as to what the
enter key should do.Whether the element is hidden from view.
source§const inert: Attribute = Attribute
const inert: Attribute = Attribute
Mark an element and its children as inert, disabling interaction.
source§const inputmode: Attribute = Attribute
const inputmode: Attribute = Attribute
Specifies what kind of input mechanism would be most helpful for users
entering content.
source§const itemref: Attribute = Attribute
const itemref: Attribute = Attribute
A list of additional elements to crawl to find the name-value pairs of
the item.
source§const nonce: Attribute = Attribute
const nonce: Attribute = Attribute
A cryptographic nonce (“number used once”) which can be used by Content
Security Policy to determine whether or not a given fetch will be
allowed to proceed.
source§const popover: Attribute = Attribute
const popover: Attribute = Attribute
When specified, the element won’t be rendered until it becomes shown, at
which point it will be rendered on top of other page content.
source§const spellcheck: Attribute = Attribute
const spellcheck: Attribute = Attribute
Whether the element is spellchecked or not.
impl Copy for select
Auto Trait Implementations§
impl RefUnwindSafe for select
impl Send for select
impl Sync for select
impl Unpin for select
impl UnwindSafe for select
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