pub struct Config {
pub vbare: Config,
}Expand description
Configuration for the vbare-compiler.
This allows callers to control how code generation behaves, including
passing through configuration to vbare_gen.
Fields§
§vbare: ConfigConfiguration forwarded to vbare_gen for schema codegen.
Implementations§
Source§impl Config
impl Config
Sourcepub fn with_hashable_map() -> Self
pub fn with_hashable_map() -> Self
Convenience helper to enable hashable maps in generated code.
Sourcepub fn with_hash_map() -> Self
pub fn with_hash_map() -> Self
Convenience helper to use the standard library HashMap.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
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