pub struct CompileSourceFileOptions { /* private fields */ }Implementations§
Source§impl CompileSourceFileOptions
impl CompileSourceFileOptions
pub fn new() -> Self
pub fn with_module_override_path( self, import_spec: impl Into<String>, module_path: impl Into<PathBuf>, ) -> Self
pub fn set_module_override_path( &mut self, import_spec: impl Into<String>, module_path: impl Into<PathBuf>, )
pub fn with_module_override_source( self, import_spec: impl Into<String>, module_source: impl Into<String>, ) -> Self
pub fn set_module_override_source( &mut self, import_spec: impl Into<String>, module_source: impl Into<String>, )
pub fn with_source_plugin(self, plugin: &'static dyn SourcePlugin) -> Self
pub fn add_source_plugin(&mut self, plugin: &'static dyn SourcePlugin)
pub fn module_override_path(&self, import_spec: &str) -> Option<&Path>
pub fn module_override_source(&self, import_spec: &str) -> Option<&str>
Trait Implementations§
Source§impl Clone for CompileSourceFileOptions
impl Clone for CompileSourceFileOptions
Source§fn clone(&self) -> CompileSourceFileOptions
fn clone(&self) -> CompileSourceFileOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CompileSourceFileOptions
impl Debug for CompileSourceFileOptions
Source§impl Default for CompileSourceFileOptions
impl Default for CompileSourceFileOptions
Source§fn default() -> CompileSourceFileOptions
fn default() -> CompileSourceFileOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !RefUnwindSafe for CompileSourceFileOptions
impl !UnwindSafe for CompileSourceFileOptions
impl Freeze for CompileSourceFileOptions
impl Send for CompileSourceFileOptions
impl Sync for CompileSourceFileOptions
impl Unpin for CompileSourceFileOptions
impl UnsafeUnpin for CompileSourceFileOptions
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