pub struct SelectMutations<'a, Dom: Dom = DefaultDom>(/* private fields */);Expand description
The HTML <select> element represents a control that provides a
menu of options.
Implementations§
Source§impl<'a, Dom: Dom> SelectMutations<'a, Dom>
impl<'a, Dom: Dom> SelectMutations<'a, Dom>
pub fn attribute( self, name: String, f: impl FnMut(&HtmlSelectElement, Option<String>) + 'static, ) -> Self
pub fn autocomplete( self, f: impl FnMut(&HtmlSelectElement, Option<String>) + 'static, ) -> Self
pub fn autofocus( self, f: impl FnMut(&HtmlSelectElement, Option<String>) + 'static, ) -> Self
pub fn disabled( self, f: impl FnMut(&HtmlSelectElement, Option<String>) + 'static, ) -> Self
pub fn form( self, f: impl FnMut(&HtmlSelectElement, Option<String>) + 'static, ) -> Self
pub fn multiple( self, f: impl FnMut(&HtmlSelectElement, Option<String>) + 'static, ) -> Self
pub fn name( self, f: impl FnMut(&HtmlSelectElement, Option<String>) + 'static, ) -> Self
pub fn required( self, f: impl FnMut(&HtmlSelectElement, Option<String>) + 'static, ) -> Self
pub fn size( self, f: impl FnMut(&HtmlSelectElement, Option<String>) + 'static, ) -> Self
Auto Trait Implementations§
impl<'a, Dom> Freeze for SelectMutations<'a, Dom>
impl<'a, Dom = Dry> !RefUnwindSafe for SelectMutations<'a, Dom>
impl<'a, Dom = Dry> !Send for SelectMutations<'a, Dom>
impl<'a, Dom = Dry> !Sync for SelectMutations<'a, Dom>
impl<'a, Dom> Unpin for SelectMutations<'a, Dom>
impl<'a, Dom = Dry> !UnwindSafe for SelectMutations<'a, Dom>
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<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more