Struct git_checks::checks::CheckEndOfLine [−][src]
pub struct CheckEndOfLine;
Check for files which lack an end-of-line at the end of the file.
Methods
impl CheckEndOfLine[src]
impl CheckEndOfLineTrait Implementations
impl Debug for CheckEndOfLine[src]
impl Debug for CheckEndOfLinefn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Default for CheckEndOfLine[src]
impl Default for CheckEndOfLinefn default() -> CheckEndOfLine[src]
fn default() -> CheckEndOfLineReturns the "default value" for a type. Read more
impl Clone for CheckEndOfLine[src]
impl Clone for CheckEndOfLinefn clone(&self) -> CheckEndOfLine[src]
fn clone(&self) -> CheckEndOfLineReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Copy for CheckEndOfLine[src]
impl Copy for CheckEndOfLineimpl ContentCheck for CheckEndOfLine[src]
impl ContentCheck for CheckEndOfLinefn name(&self) -> &str[src]
fn name(&self) -> &strThe name of the check.
fn check(&self, _: &CheckGitContext, content: &Content) -> Result<CheckResult>[src]
fn check(&self, _: &CheckGitContext, content: &Content) -> Result<CheckResult>Run the check.
Auto Trait Implementations
impl Send for CheckEndOfLine
impl Send for CheckEndOfLineimpl Sync for CheckEndOfLine
impl Sync for CheckEndOfLine