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