pub struct HtmlAttribute<'a> {
pub name: &'a str,
pub value: &'a str,
}Expand description
A single attribute on a start tag.
Fields§
§name: &'a str§value: &'a strTrait Implementations§
Source§impl<'a> Clone for HtmlAttribute<'a>
impl<'a> Clone for HtmlAttribute<'a>
Source§fn clone(&self) -> HtmlAttribute<'a>
fn clone(&self) -> HtmlAttribute<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<'a> Copy for HtmlAttribute<'a>
Auto Trait Implementations§
impl<'a> Freeze for HtmlAttribute<'a>
impl<'a> RefUnwindSafe for HtmlAttribute<'a>
impl<'a> Send for HtmlAttribute<'a>
impl<'a> Sync for HtmlAttribute<'a>
impl<'a> Unpin for HtmlAttribute<'a>
impl<'a> UnsafeUnpin for HtmlAttribute<'a>
impl<'a> UnwindSafe for HtmlAttribute<'a>
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