pub struct CodeGeneratorConfig { /* private fields */ }
Expand description
Code generation options meant to be supported by all languages.
Implementations§
Source§impl CodeGeneratorConfig
impl CodeGeneratorConfig
Sourcepub fn with_external_definitions(
self,
external_definitions: ExternalDefinitions,
) -> Self
pub fn with_external_definitions( self, external_definitions: ExternalDefinitions, ) -> Self
Container names provided by external modules.
Sourcepub fn with_comments(self, comments: DocComments) -> Self
pub fn with_comments(self, comments: DocComments) -> Self
Comments attached to particular entity.
Trait Implementations§
Source§impl Clone for CodeGeneratorConfig
impl Clone for CodeGeneratorConfig
Source§fn clone(&self) -> CodeGeneratorConfig
fn clone(&self) -> CodeGeneratorConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for CodeGeneratorConfig
impl RefUnwindSafe for CodeGeneratorConfig
impl Send for CodeGeneratorConfig
impl Sync for CodeGeneratorConfig
impl Unpin for CodeGeneratorConfig
impl UnwindSafe for CodeGeneratorConfig
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