pub struct Opts {
pub string_encoding: StringEncoding,
pub generate_stub: bool,
pub runtime: CSharpRuntime,
pub internal: bool,
pub skip_support_files: bool,
pub with_wit_results: bool,
}Fields§
§string_encoding: StringEncoding§generate_stub: boolWhether or not to generate a stub class for exported functions
runtime: CSharpRuntime§internal: boolUse the internal access modifier by default instead of public
skip_support_files: boolSkip generating cabi_realloc, WasmImportLinkageAttribute, and component type files
with_wit_results: boolGenerate code for WIT Result types instead of exceptions
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Opts
impl RefUnwindSafe for Opts
impl Send for Opts
impl Sync for Opts
impl Unpin for Opts
impl UnwindSafe for Opts
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