pub struct Args { /* private fields */ }
Expand description
Command line arguments for Artichoke ruby
frontend.
Implementations§
Source§impl Args
impl Args
Sourcepub fn with_copyright(self, copyright: bool) -> Self
pub fn with_copyright(self, copyright: bool) -> Self
Add a parsed copyright flag to this Args
.
Sourcepub fn with_commands(self, commands: Vec<OsString>) -> Self
pub fn with_commands(self, commands: Vec<OsString>) -> Self
Add a parsed set of -e
inline eval commands to this Args
.
Sourcepub fn with_fixture(self, fixture: Option<PathBuf>) -> Self
pub fn with_fixture(self, fixture: Option<PathBuf>) -> Self
Add a parsed fixture path to this Args
.
Sourcepub fn with_programfile(self, programfile: Option<PathBuf>) -> Self
pub fn with_programfile(self, programfile: Option<PathBuf>) -> Self
Add a parsed program file path to this Args
.
Trait Implementations§
Source§impl Ord for Args
impl Ord for Args
Source§impl PartialOrd for Args
impl PartialOrd for Args
impl Eq for Args
impl StructuralPartialEq for Args
Auto Trait Implementations§
impl Freeze for Args
impl RefUnwindSafe for Args
impl Send for Args
impl Sync for Args
impl Unpin for Args
impl UnwindSafe for Args
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