Struct wiggle_generate::CodegenSettings
source · pub struct CodegenSettings {
pub errors: ErrorTransform,
pub async_: AsyncConf,
pub wasmtime: bool,
pub tracing: TracingConf,
pub mutable: bool,
}
Fields§
§errors: ErrorTransform
§async_: AsyncConf
§wasmtime: bool
§tracing: TracingConf
Disabling this feature makes it possible to remove all of the tracing
code emitted in the Wiggle-generated code; this can be helpful while
inspecting the code (e.g., with cargo expand
).
mutable: bool
Determine whether the context structure will use &mut self
(true) or
simply &self
.
Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for CodegenSettings
impl !Send for CodegenSettings
impl !Sync for CodegenSettings
impl Unpin for CodegenSettings
impl UnwindSafe for CodegenSettings
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