pub struct Attribute<'x> {
pub name: Cow<'x, str>,
pub value: Cow<'x, str>,
}
Fields§
§name: Cow<'x, str>
§value: Cow<'x, str>
Trait Implementations§
impl<'x> Eq for Attribute<'x>
impl<'x> StructuralPartialEq for Attribute<'x>
Auto Trait Implementations§
impl<'x> Freeze for Attribute<'x>
impl<'x> RefUnwindSafe for Attribute<'x>
impl<'x> Send for Attribute<'x>
impl<'x> Sync for Attribute<'x>
impl<'x> Unpin for Attribute<'x>
impl<'x> UnwindSafe for Attribute<'x>
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