pub struct GeneralOptions {
pub version: RequestedVersion,
pub verbosity: Verbosity,
}Fields§
§version: RequestedVersionThe desired version of the clang tools to use.
Accepted options are:
- A semantic version specifier, eg.
>=10, <13,=12.0.1, or simply16. - A blank string (
'') to use the platform’s default installed version. - A path to where the clang tools are installed (if using a custom install location). All paths specified here are converted to absolute.
- If this option is specified without a value, then the cpp-linter version is printed and the program exits.
verbosity: VerbosityThis controls the action’s verbosity in the workflow’s logs.
This option does not affect the verbosity of resulting thread comments or file annotations.
Trait Implementations§
Source§impl Args for GeneralOptions
impl Args for GeneralOptions
Source§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
Source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
fn augment_args_for_update<'b>(__clap_app: Command) -> Command
Append to
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§impl Clone for GeneralOptions
impl Clone for GeneralOptions
Source§fn clone(&self) -> GeneralOptions
fn clone(&self) -> GeneralOptions
Returns a duplicate of the value. Read more
1.0.0 · 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 GeneralOptions
impl Debug for GeneralOptions
Source§impl FromArgMatches for GeneralOptions
impl FromArgMatches for GeneralOptions
Source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>
Source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Source§fn update_from_arg_matches_mut(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Auto Trait Implementations§
impl Freeze for GeneralOptions
impl RefUnwindSafe for GeneralOptions
impl Send for GeneralOptions
impl Sync for GeneralOptions
impl Unpin for GeneralOptions
impl UnwindSafe for GeneralOptions
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