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