[][src]Struct bundle_sources::SourceGenerator

pub struct SourceGenerator { /* fields omitted */ }

Implementations

impl SourceGenerator[src]

pub fn new_adding(output_dir: String) -> Result<SourceGenerator, Error>[src]

pub fn new_trashing(output_dir: String) -> Result<SourceGenerator, Error>[src]

pub fn configure(&mut self, config: Config) -> &mut Self

Notable traits for &'_ mut W

impl<'_, W> Write for &'_ mut W where
    W: Write + ?Sized
impl<'_, R> Read for &'_ mut R where
    R: Read + ?Sized
[src]

pub fn add_component<C: Component>(
    &mut self,
    src: &C,
    basename: &str,
    cat: Category,
    desc: Html
) -> Result<(), Error>
[src]

desc should be a single line of text in HTML syntax

pub fn add_cargo_packages(
    &mut self,
    spec_manifest_path: Option<&str>
) -> Result<(), Error>
[src]

Some("Cargo.toml") mentions the package name for the metadata json

pub fn aggregate(self) -> Result<Vec<OutputItem>, Error>[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,