pub struct ElementAttributesReplacement<'a> {
pub element: &'static str,
pub replacements: &'a [NameReplacement],
}
Available on crate feature
html
only.Expand description
The replacement of an element’s attributes.
Fields§
§element: &'static str
The name of the element.
replacements: &'a [NameReplacement]
The list of attributes replacements.
Trait Implementations§
Source§impl<'a> Clone for ElementAttributesReplacement<'a>
impl<'a> Clone for ElementAttributesReplacement<'a>
Source§fn clone(&self) -> ElementAttributesReplacement<'a>
fn clone(&self) -> ElementAttributesReplacement<'a>
Returns a copy 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<'a> Debug for ElementAttributesReplacement<'a>
impl<'a> Debug for ElementAttributesReplacement<'a>
impl<'a> Copy for ElementAttributesReplacement<'a>
Auto Trait Implementations§
impl<'a> Freeze for ElementAttributesReplacement<'a>
impl<'a> RefUnwindSafe for ElementAttributesReplacement<'a>
impl<'a> Send for ElementAttributesReplacement<'a>
impl<'a> Sync for ElementAttributesReplacement<'a>
impl<'a> Unpin for ElementAttributesReplacement<'a>
impl<'a> UnwindSafe for ElementAttributesReplacement<'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