pub struct Attribute<'a> {
pub name: ExpandedName<'a>,
pub value: String,
pub enforce_prefix: IncludePrefix,
pub preferred_prefix: Option<Prefix<'a>>,
}Fields§
§name: ExpandedName<'a>§value: String§enforce_prefix: IncludePrefix§preferred_prefix: Option<Prefix<'a>>Implementations§
Trait Implementations§
Source§impl<'a> Ord for Attribute<'a>
impl<'a> Ord for Attribute<'a>
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl<'a> PartialOrd for Attribute<'a>
impl<'a> PartialOrd for Attribute<'a>
impl<'a> Eq for Attribute<'a>
impl<'a> StructuralPartialEq for Attribute<'a>
Auto Trait Implementations§
impl<'a> Freeze for Attribute<'a>
impl<'a> RefUnwindSafe for Attribute<'a>
impl<'a> Send for Attribute<'a>
impl<'a> Sync for Attribute<'a>
impl<'a> Unpin for Attribute<'a>
impl<'a> UnwindSafe for Attribute<'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