pub struct code {
pub attributes: CodeAttributes,
pub data_attributes: Vec<(String, Option<String>), Global>,
pub aria_attributes: Vec<(String, Option<String>), Global>,
}
Fields§
§attributes: CodeAttributes
§data_attributes: Vec<(String, Option<String>), Global>
§aria_attributes: Vec<(String, Option<String>), Global>
Trait Implementations§
source§impl TypedElement for code
impl TypedElement for code
§type Attributes = CodeAttributes
type Attributes = CodeAttributes
The attributes of the element.
source§fn from_attributes(
attributes: <code as TypedElement>::Attributes,
data_attributes: Vec<(String, Option<String>), Global>,
aria_attributes: Vec<(String, Option<String>), Global>
) -> code
fn from_attributes( attributes: <code as TypedElement>::Attributes, data_attributes: Vec<(String, Option<String>), Global>, aria_attributes: Vec<(String, Option<String>), Global> ) -> code
Create an element from its attributes.
Auto Trait Implementations§
impl RefUnwindSafe for code
impl Send for code
impl Sync for code
impl Unpin for code
impl UnwindSafe for code
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