Struct Parser
pub struct Parser { /* private fields */ }Expand description
The command-line argument parser.
Implementations§
§impl Parser
impl Parser
pub fn parse_command_line_args() -> Option<(Vec<String>, DriverOptions)>
pub fn parse_command_line_args() -> Option<(Vec<String>, DriverOptions)>
Parses the command-line arguments into the compiler driver options.
Auto Trait Implementations§
impl Freeze for Parser
impl RefUnwindSafe for Parser
impl Send for Parser
impl Sync for Parser
impl Unpin for Parser
impl UnwindSafe for Parser
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