pub struct Orchestrator<'a> { /* private fields */ }Implementations§
Source§impl<'a> Orchestrator<'a>
impl<'a> Orchestrator<'a>
pub fn new() -> Self
pub fn with_generator(self, gen: &'a dyn Generator) -> Self
pub fn run( &self, api: &Api, out_dir: &Utf8Path, config: &GeneratorConfig, force: bool, templates: Option<&TemplateEngine>, ) -> Result<()>
Trait Implementations§
Source§impl<'a> Default for Orchestrator<'a>
impl<'a> Default for Orchestrator<'a>
Source§fn default() -> Orchestrator<'a>
fn default() -> Orchestrator<'a>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<'a> Freeze for Orchestrator<'a>
impl<'a> !RefUnwindSafe for Orchestrator<'a>
impl<'a> !Send for Orchestrator<'a>
impl<'a> !Sync for Orchestrator<'a>
impl<'a> Unpin for Orchestrator<'a>
impl<'a> UnsafeUnpin for Orchestrator<'a>
impl<'a> !UnwindSafe for Orchestrator<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more