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