[−][src]Struct super_analyzer_core::results::report::handlebars::Report
Handlebars report generator.
Fields
handler: Handlebars
Handlebars template structure.
package: String
Package name.
Methods
impl Report
[src]
pub fn from_path<P: AsRef<Path>, S: Into<String>>(
template_path: P,
package: S
) -> Result<Self, Error>
[src]
template_path: P,
package: S
) -> Result<Self, Error>
Creates a new handlebars report generator.
fn load_templates<P: AsRef<Path>>(template_path: P) -> Result<Handlebars, Error>
[src]
Loads templates from the given path.
fn generate_code_html_files(
&self,
config: &Config,
results: &Results
) -> Result<(), Error>
[src]
&self,
config: &Config,
results: &Results
) -> Result<(), Error>
Generates the HTML files for the code.
fn generate_code_html_folder<P: AsRef<Path>>(
&self,
path: P,
config: &Config,
results: &Results
) -> Result<Vec<Value>, Error>
[src]
&self,
path: P,
config: &Config,
results: &Results
) -> Result<Vec<Value>, Error>
Generates a folder with HTML files with the source code of the application.
fn generate_code_html_for<P: AsRef<Path>, S: AsRef<str>>(
&self,
path: P,
config: &Config,
results: &Results,
cli_package_name: S
) -> Result<(), Error>
[src]
&self,
path: P,
config: &Config,
results: &Results,
cli_package_name: S
) -> Result<(), Error>
Generates an HTML file with source code for the given path.
Trait Implementations
Auto Trait Implementations
impl Send for Report
impl Sync for Report
impl Unpin for Report
impl !UnwindSafe for Report
impl !RefUnwindSafe for Report
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Same<T> for T
[src]
type Output = T
Should always be Self