Struct git_checks::CheckWhitespace
source · pub struct CheckWhitespace {}
Expand description
Checks for bad whitespace using Git’s built-in checks.
This is attribute-driven, so any gitattributes(5)
files may be used to suppress spirious
errors from this check.
Implementations§
source§impl CheckWhitespace
impl CheckWhitespace
sourcepub fn builder() -> CheckWhitespaceBuilder
pub fn builder() -> CheckWhitespaceBuilder
Create a new builder.
Trait Implementations§
source§impl Check for CheckWhitespace
impl Check for CheckWhitespace
source§impl Clone for CheckWhitespace
impl Clone for CheckWhitespace
source§fn clone(&self) -> CheckWhitespace
fn clone(&self) -> CheckWhitespace
Returns a copy 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 CheckWhitespace
impl Debug for CheckWhitespace
source§impl Default for CheckWhitespace
impl Default for CheckWhitespace
source§fn default() -> CheckWhitespace
fn default() -> CheckWhitespace
Returns the “default value” for a type. Read more
source§impl TopicCheck for CheckWhitespace
impl TopicCheck for CheckWhitespace
impl Copy for CheckWhitespace
Auto Trait Implementations§
impl RefUnwindSafe for CheckWhitespace
impl Send for CheckWhitespace
impl Sync for CheckWhitespace
impl Unpin for CheckWhitespace
impl UnwindSafe for CheckWhitespace
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