pub struct HtmlAttribute {
pub name: EcoString,
pub value: EcoString,
}Expand description
HTML attribute
Fields§
§name: EcoStringAttribute name
value: EcoStringAttribute value
Trait Implementations§
Source§impl Clone for HtmlAttribute
impl Clone for HtmlAttribute
Source§fn clone(&self) -> HtmlAttribute
fn clone(&self) -> HtmlAttribute
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for HtmlAttribute
impl Debug for HtmlAttribute
Source§impl PartialEq for HtmlAttribute
impl PartialEq for HtmlAttribute
impl StructuralPartialEq for HtmlAttribute
Auto Trait Implementations§
impl Freeze for HtmlAttribute
impl RefUnwindSafe for HtmlAttribute
impl Send for HtmlAttribute
impl Sync for HtmlAttribute
impl Unpin for HtmlAttribute
impl UnwindSafe for HtmlAttribute
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