pub struct CodeGenerateOption {
pub is_dev: bool,
pub is_ts: bool,
pub mode: ScriptMode,
pub source_map: bool,
pub inline: bool,
pub has_binding: bool,
pub filename: String,
pub decode_entities: EntityDecoder,
}
Fields§
§is_dev: bool
§is_ts: bool
§mode: ScriptMode
§source_map: bool
§inline: bool
§has_binding: bool
§filename: String
§decode_entities: EntityDecoder
Trait Implementations§
Source§impl Clone for CodeGenerateOption
impl Clone for CodeGenerateOption
Source§fn clone(&self) -> CodeGenerateOption
fn clone(&self) -> CodeGenerateOption
Returns a duplicate 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 CodeGenerateOption
impl RefUnwindSafe for CodeGenerateOption
impl Send for CodeGenerateOption
impl Sync for CodeGenerateOption
impl Unpin for CodeGenerateOption
impl UnwindSafe for CodeGenerateOption
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