pub struct TagAttribute {
pub position: Span,
pub key: String,
pub value: String,
}
Expand description
Represents a pair of html tag attribute and value.
Fields§
§position: Span
§key: String
§value: String
Implementations§
Trait Implementations§
Source§impl Clone for TagAttribute
impl Clone for TagAttribute
Source§fn clone(&self) -> TagAttribute
fn clone(&self) -> TagAttribute
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for TagAttribute
impl Debug for TagAttribute
Source§impl<'de> Deserialize<'de> for TagAttribute
impl<'de> Deserialize<'de> for TagAttribute
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for TagAttribute
impl PartialEq for TagAttribute
Source§impl Serialize for TagAttribute
impl Serialize for TagAttribute
impl StructuralPartialEq for TagAttribute
Auto Trait Implementations§
impl Freeze for TagAttribute
impl RefUnwindSafe for TagAttribute
impl Send for TagAttribute
impl Sync for TagAttribute
impl Unpin for TagAttribute
impl UnwindSafe for TagAttribute
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