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