pub struct DynamicHtml {
pub imports: Vec<HtmlImportPart>,
pub parts: Vec<HtmlPart>,
}
Fields§
§imports: Vec<HtmlImportPart>
§parts: Vec<HtmlPart>
Implementations§
Source§impl DynamicHtml
impl DynamicHtml
pub fn parse(content: &String) -> Result<DynamicHtml, ParseError>
pub fn generate(&self, options: &GenerateOptions) -> String
Trait Implementations§
Source§impl Clone for DynamicHtml
impl Clone for DynamicHtml
Source§fn clone(&self) -> DynamicHtml
fn clone(&self) -> DynamicHtml
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 moreAuto Trait Implementations§
impl Freeze for DynamicHtml
impl RefUnwindSafe for DynamicHtml
impl Send for DynamicHtml
impl Sync for DynamicHtml
impl Unpin for DynamicHtml
impl UnwindSafe for DynamicHtml
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