pub struct optgroup;Expand description
HTML <optgroup> element - Defines a group of related <option> elements in a <select> element
Example:
<select><optgroup label="Fruits"><option value="apple">Apple</option><option value="banana">Banana</option></optgroup><optgroup label="Vegetables"><option value="carrot">Carrot</option><option value="potato">Potato</option></optgroup></select>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for optgroup
impl RefUnwindSafe for optgroup
impl Send for optgroup
impl Sync for optgroup
impl Unpin for optgroup
impl UnwindSafe for optgroup
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