pub struct NodeGenerator;Trait Implementations§
Source§impl Generator for NodeGenerator
impl Generator for NodeGenerator
fn name(&self) -> &'static str
fn generate(&self, api: &Api, out_dir: &Utf8Path) -> Result<()>
fn generate_with_config( &self, api: &Api, out_dir: &Utf8Path, config: &GeneratorConfig, ) -> Result<()>
fn output_files(&self, _api: &Api, out_dir: &Utf8Path) -> Vec<String>
fn generate_with_templates( &self, api: &Api, out_dir: &Utf8Path, config: &GeneratorConfig, _templates: Option<&TemplateEngine>, ) -> Result<(), Error>
fn output_files_with_config( &self, api: &Api, out_dir: &Utf8Path, _config: &GeneratorConfig, ) -> Vec<String>
Auto Trait Implementations§
impl Freeze for NodeGenerator
impl RefUnwindSafe for NodeGenerator
impl Send for NodeGenerator
impl Sync for NodeGenerator
impl Unpin for NodeGenerator
impl UnsafeUnpin for NodeGenerator
impl UnwindSafe for NodeGenerator
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