Struct darklua_core::Options
source · pub struct Options { /* private fields */ }Implementations§
source§impl Options
impl Options
pub fn new(input: impl Into<PathBuf>) -> Self
pub fn with_configuration_at(self, config: impl Into<PathBuf>) -> Self
pub fn with_configuration(self, config: Configuration) -> Self
pub fn with_output(self, output: impl Into<PathBuf>) -> Self
pub fn fail_fast(self) -> Self
pub fn with_generator_override( self, generator: impl Into<GeneratorParameters> ) -> Self
pub fn input(&self) -> &Path
pub fn output(&self) -> Option<&Path>
pub fn should_fail_fast(&self) -> bool
pub fn configuration_path(&self) -> Option<&Path>
pub fn generator_override(&self) -> Option<&GeneratorParameters>
pub fn take_configuration(&mut self) -> Option<Configuration>
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Options
impl !Send for Options
impl !Sync for Options
impl Unpin for Options
impl !UnwindSafe for Options
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