[−][src]Struct bundle_sources::SourceGenerator
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ⓘ
[src]
pub fn add_component<C: Component>(
&mut self,
src: &C,
basename: &str,
cat: Category,
desc: Html
) -> Result<(), Error>
[src]
&mut self,
src: &C,
basename: &str,
cat: Category,
desc: Html
) -> Result<(), Error>
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]
&mut self,
spec_manifest_path: Option<&str>
) -> Result<(), Error>
Some("Cargo.toml") mentions the package name for the metadata json
pub fn aggregate(self) -> Result<Vec<OutputItem>, Error>
[src]
Auto Trait Implementations
impl !RefUnwindSafe for SourceGenerator
impl !Send for SourceGenerator
impl !Sync for SourceGenerator
impl Unpin for SourceGenerator
impl !UnwindSafe for SourceGenerator
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut Tⓘ
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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.
pub 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.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,