Struct wit_bindgen_csharp::Opts
source · pub struct Opts {
pub string_encoding: StringEncoding,
pub generate_stub: bool,
pub runtime: CSharpRuntime,
pub internal: bool,
pub skip_support_files: bool,
}
Fields§
§string_encoding: StringEncoding
§generate_stub: bool
Whether or not to generate a stub class for exported functions
runtime: CSharpRuntime
§internal: bool
Use the internal
access modifier by default instead of public
skip_support_files: bool
Skip generating cabi_realloc
, WasmImportLinkageAttribute
, and component type files
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)