pub struct RendererConfig {
pub steps: Vec<Box<dyn RenderStepConfig>>,
pub flags: RendererFlags,
pub derive: Option<Vec<String>>,
pub alloc: String,
pub dyn_type_traits: Option<Vec<String>>,
pub xsd_parser_types: String,
}Expand description
Configuration for the actual code rendering.
Fields§
§steps: Vec<Box<dyn RenderStepConfig>>List of renderers to use for code rendering.
flags: RendererFlagsAdditional flags to control the renderer.
derive: Option<Vec<String>>Sets the traits the generated types should derive from.
See derive for more details.
alloc: StringName of the alloc crate that is used for the generated code.
dyn_type_traits: Option<Vec<String>>Set the traits that should be implemented by dynamic types.
See dyn_type_traits for more details.
xsd_parser_types: StringName of the xsd-parser-types crate that is used for the generated code.
Trait Implementations§
Source§impl Clone for RendererConfig
impl Clone for RendererConfig
Source§impl Debug for RendererConfig
impl Debug for RendererConfig
Auto Trait Implementations§
impl Freeze for RendererConfig
impl !RefUnwindSafe for RendererConfig
impl !Send for RendererConfig
impl !Sync for RendererConfig
impl Unpin for RendererConfig
impl !UnwindSafe for RendererConfig
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