Enum lol_html::html_content::ContentType  
source · pub enum ContentType {
    Html,
    Text,
}Expand description
The type of inserted content.
Variants§
Html
HTML content type. The rewriter will insert the content as is.
Text
Text content type. The rewriter will HTML-escape the content before insertion:
- < will be replaced with <
- > will be replaced with >
- & will be replaced with &
Auto Trait Implementations§
impl RefUnwindSafe for ContentType
impl Send for ContentType
impl Sync for ContentType
impl Unpin for ContentType
impl UnwindSafe for ContentType
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