Struct swc_xml_codegen::CodegenConfig
source · pub struct CodegenConfig<'a> {
pub minify: bool,
pub scripting_enabled: bool,
pub context_element: Option<&'a Element>,
}Fields§
§minify: bool§scripting_enabled: bool§context_element: Option<&'a Element>Should be used only for DocumentFragment code generation
Trait Implementations§
source§impl<'a> Clone for CodegenConfig<'a>
impl<'a> Clone for CodegenConfig<'a>
source§fn clone(&self) -> CodegenConfig<'a>
fn clone(&self) -> CodegenConfig<'a>
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 moresource§impl<'a> Debug for CodegenConfig<'a>
impl<'a> Debug for CodegenConfig<'a>
source§impl<'a> Default for CodegenConfig<'a>
impl<'a> Default for CodegenConfig<'a>
source§fn default() -> CodegenConfig<'a>
fn default() -> CodegenConfig<'a>
Returns the “default value” for a type. Read more