pub struct Atdf2SvdOptions { /* private fields */ }Expand description
A tool to convert AVR chip description files (.atdf) to SVD.
Trait Implementations§
Source§impl Debug for Atdf2SvdOptions
impl Debug for Atdf2SvdOptions
Source§impl Options for Atdf2SvdOptions
impl Options for Atdf2SvdOptions
Source§fn parse<__S: AsRef<str>>(_parser: &mut Parser<'_, __S>) -> Result<Self, Error>
fn parse<__S: AsRef<str>>(_parser: &mut Parser<'_, __S>) -> Result<Self, Error>
Parses arguments until the given parser is exhausted or until
an error is encountered.
Source§fn command(&self) -> Option<&dyn Options>
fn command(&self) -> Option<&dyn Options>
Returns the subcommand instance, if present. Read more
Source§fn command_name(&self) -> Option<&'static str>
fn command_name(&self) -> Option<&'static str>
Returns the name of a parsed command, if present. Read more
Source§fn help_requested(&self) -> bool
fn help_requested(&self) -> bool
Returns whether the user supplied a “help” option to request
usage information about the program or any contained subcommands. Read more
Source§fn parse_command<__S: AsRef<str>>(
name: &str,
_parser: &mut Parser<'_, __S>,
) -> Result<Self, Error>
fn parse_command<__S: AsRef<str>>( name: &str, _parser: &mut Parser<'_, __S>, ) -> Result<Self, Error>
Parses options for the named command.
Source§fn usage() -> &'static str
fn usage() -> &'static str
Returns a string showing usage and help for each supported option. Read more
Source§fn self_usage(&self) -> &'static str
fn self_usage(&self) -> &'static str
Returns a string showing usage and help for this options instance. Read more
Source§fn command_list() -> Option<&'static str>
fn command_list() -> Option<&'static str>
Returns a string listing available commands and help text. Read more
Source§fn command_usage(_name: &str) -> Option<&'static str>
fn command_usage(_name: &str) -> Option<&'static str>
Returns a usage string for the named command. Read more
Source§fn self_command_list(&self) -> Option<&'static str>
fn self_command_list(&self) -> Option<&'static str>
Returns a listing of available commands and help text. Read more
Source§fn parse_args<S>(args: &[S], style: ParsingStyle) -> Result<Self, Error>
fn parse_args<S>(args: &[S], style: ParsingStyle) -> Result<Self, Error>
Parses arguments received from the command line. Read more
Source§fn parse_args_or_exit(style: ParsingStyle) -> Selfwhere
Self: Sized,
fn parse_args_or_exit(style: ParsingStyle) -> Selfwhere
Self: Sized,
Parses arguments from the environment. Read more
Source§fn parse_args_default_or_exit() -> Selfwhere
Self: Sized,
fn parse_args_default_or_exit() -> Selfwhere
Self: Sized,
Parses arguments from the environment, using the default
parsing style. Read more
Auto Trait Implementations§
impl Freeze for Atdf2SvdOptions
impl RefUnwindSafe for Atdf2SvdOptions
impl Send for Atdf2SvdOptions
impl Sync for Atdf2SvdOptions
impl Unpin for Atdf2SvdOptions
impl UnwindSafe for Atdf2SvdOptions
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