Struct cargo_culture_kit::HasReadmeFile [−][src]
pub struct HasReadmeFile;
Rule that asserts a good Rust project: "Should have a README.md file in the project directory."
Justification
A README file is likely the first and last piece of documentation people may read about a project.
Trait Implementations
impl Debug for HasReadmeFile
[src]
impl Debug for HasReadmeFile
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Default for HasReadmeFile
[src]
impl Default for HasReadmeFile
fn default() -> HasReadmeFile
[src]
fn default() -> HasReadmeFile
Returns the "default value" for a type. Read more
impl Rule for HasReadmeFile
[src]
impl Rule for HasReadmeFile
fn description(&self) -> &'static str
[src]
fn description(&self) -> &'static str
The central tenet of this Rule
. Serves as a unique identifier for Rule instances, as well as a human-readable summary of what this Rule
means for a given project. Read more
fn evaluate(&self, context: RuleContext) -> RuleOutcome
[src]
fn evaluate(&self, context: RuleContext) -> RuleOutcome
Does the Rust project found at cargo_manifest_path
uphold this Rule
, as summarized in the description
? Read more
Auto Trait Implementations
impl Send for HasReadmeFile
impl Send for HasReadmeFile
impl Sync for HasReadmeFile
impl Sync for HasReadmeFile