pub struct Complain { /* private fields */ }Expand description
Complain about certain stylistic issues.
Implementations§
Source§impl Complain
impl Complain
Sourcepub fn ignore_carriage_return_line_feeds(&mut self)
pub fn ignore_carriage_return_line_feeds(&mut self)
Ignore CRLFs.
Sourcepub fn ignore_line_width_issues(&mut self)
pub fn ignore_line_width_issues(&mut self)
Ignore too long lines.
Sourcepub fn ignore_missing_final_line_feed(&mut self)
pub fn ignore_missing_final_line_feed(&mut self)
Ignore missing trailing newline characters.
Sourcepub fn ignore_mixed_indentation(&mut self)
pub fn ignore_mixed_indentation(&mut self)
Ignore the application of multiple indentation units.
Sourcepub fn ignore_tabs_within_lines(&mut self)
pub fn ignore_tabs_within_lines(&mut self)
Ignore tab characters in input lines.
Sourcepub fn ignore_trailing_white_space_characters(&mut self)
pub fn ignore_trailing_white_space_characters(&mut self)
Ignore lines ending with spaces and / or tab characters.
Sourcepub fn ignore_wrong_indentation(&mut self)
pub fn ignore_wrong_indentation(&mut self)
Ignore applications of the opposite indentation unit.
Sourcepub fn indent_by(&mut self, i: IndentationUnit)
pub fn indent_by(&mut self, i: IndentationUnit)
Set another indentation unit.
Trait Implementations§
Source§impl Args for Complain
impl Args for Complain
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 CommandFactory for Complain
impl CommandFactory for Complain
Source§impl FromArgMatches for Complain
impl FromArgMatches for Complain
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.Source§impl Parser for Complain
impl Parser for Complain
Source§fn parse_from<I, T>(itr: I) -> Self
fn parse_from<I, T>(itr: I) -> Self
Parse from iterator, exit on error.
Source§fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>
fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>
Parse from iterator, return Err on error.
Source§fn update_from<I, T>(&mut self, itr: I)
fn update_from<I, T>(&mut self, itr: I)
Auto Trait Implementations§
impl Freeze for Complain
impl RefUnwindSafe for Complain
impl Send for Complain
impl Sync for Complain
impl Unpin for Complain
impl UnsafeUnpin for Complain
impl UnwindSafe for Complain
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