pub struct HTMLTagAttribute {
pub name: String,
pub value: String,
}
Expand description
The tag attribute
§Examples
let attr = HTMLTagAttribute {
name: "href".to_string(),
value: "#".to_string(),
};
Fields§
§name: String
§value: String
Trait Implementations§
Source§impl Debug for HTMLTagAttribute
impl Debug for HTMLTagAttribute
Source§impl PartialEq for HTMLTagAttribute
impl PartialEq for HTMLTagAttribute
impl StructuralPartialEq for HTMLTagAttribute
Auto Trait Implementations§
impl Freeze for HTMLTagAttribute
impl RefUnwindSafe for HTMLTagAttribute
impl Send for HTMLTagAttribute
impl Sync for HTMLTagAttribute
impl Unpin for HTMLTagAttribute
impl UnwindSafe for HTMLTagAttribute
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