Struct cargo_culture_kit::HasLicenseFile [−][src]
pub struct HasLicenseFile;
Rule that asserts a good Rust project: "Should have a LICENSE file in the project directory."
Justification
A LICENSE file is an essential project component that informs potential users and developers how they may interact with the code.
Trait Implementations
impl Debug for HasLicenseFile
[src]
impl Debug for HasLicenseFile
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 HasLicenseFile
[src]
impl Default for HasLicenseFile
fn default() -> HasLicenseFile
[src]
fn default() -> HasLicenseFile
Returns the "default value" for a type. Read more
impl Rule for HasLicenseFile
[src]
impl Rule for HasLicenseFile
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 HasLicenseFile
impl Send for HasLicenseFile
impl Sync for HasLicenseFile
impl Sync for HasLicenseFile