Struct lol_html::html_content::EndTag
source · pub struct EndTag<'i> { /* private fields */ }
Implementations§
source§impl<'i> EndTag<'i>
impl<'i> EndTag<'i>
pub fn name(&self) -> String
pub fn set_name(&mut self, name: Bytes<'static>)
pub fn set_name_str(&mut self, name: String)
pub fn before(&mut self, content: &str, content_type: ContentType)
pub fn after(&mut self, content: &str, content_type: ContentType)
pub fn replace(&mut self, content: &str, content_type: ContentType)
Trait Implementations§
Auto Trait Implementations§
impl<'i> RefUnwindSafe for EndTag<'i>
impl<'i> Send for EndTag<'i>
impl<'i> Sync for EndTag<'i>
impl<'i> Unpin for EndTag<'i>
impl<'i> UnwindSafe for EndTag<'i>
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