pub struct optgroup {
pub attributes: <optgroup as TypedElement>::Attributes,
pub other_attributes: Vec<(String, Option<String>)>,
}
Available on crate feature
typed
only.Fields§
§attributes: <optgroup as TypedElement>::Attributes
§other_attributes: Vec<(String, Option<String>)>
Trait Implementations§
Source§impl TypedElement for optgroup
impl TypedElement for optgroup
Source§type Attributes = OptgroupAttributes
type Attributes = OptgroupAttributes
The attributes of the element.
Source§fn from_attributes(
attributes: <optgroup as TypedElement>::Attributes,
other_attributes: Vec<(String, Option<String>)>,
) -> optgroup
fn from_attributes( attributes: <optgroup as TypedElement>::Attributes, other_attributes: Vec<(String, Option<String>)>, ) -> optgroup
Create an element from its attributes.
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