Enum tent::HtmlContent
source · [−]pub enum HtmlContent {
Element {
name: String,
class_names: Vec<String>,
properties: Vec<(String, String)>,
contents: Vec<Content>,
},
Text(String),
}
Variants
Element
Text(String)
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Content
impl Send for Content
impl Sync for Content
impl Unpin for Content
impl UnwindSafe for Content
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more