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