pub struct SelfClosingTagConfig {
pub before: Insertion,
pub after: Insertion,
}Expand description
Defines the configuration of a self-closing tag element, e.g. in HTML <img>.
This struct stores the insertion before and the insertion after a tag identifier. Have a look at
the documentation of Insertion too.
Fields§
§before: InsertionOptional character to be set before a single tag name (opening character).
after: InsertionOptional character to be set after a single tag (closing character).
Trait Implementations§
Source§impl Clone for SelfClosingTagConfig
impl Clone for SelfClosingTagConfig
Source§fn clone(&self) -> SelfClosingTagConfig
fn clone(&self) -> SelfClosingTagConfig
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for SelfClosingTagConfig
impl RefUnwindSafe for SelfClosingTagConfig
impl Send for SelfClosingTagConfig
impl Sync for SelfClosingTagConfig
impl Unpin for SelfClosingTagConfig
impl UnwindSafe for SelfClosingTagConfig
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