Struct interoptopus_backend_csharp::Config [−][src]
pub struct Config { pub file_header_comment: String, pub class: String, pub dll_name: String, pub namespace_mappings: NamespaceMappings, pub namespace_id: String, pub emit_rust_visibility: bool, }
Expand description
Configures C# code generation.
Fields
file_header_comment: String
The file header, e.g., // (c) My Company
.
class: String
Static class for Interop methods, e.g., Interop
.
dll_name: String
DLL to load, e.g., my_library
.
namespace_mappings: NamespaceMappings
Maps which namespace id belongs into which FQN (e.g., “common” => “MyCompany.Common”).
namespace_id: String
Namespace ID of this namespace to write (default “”).
emit_rust_visibility: bool
Whether Visibility
information should be honored.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Config
impl UnwindSafe for Config
Blanket Implementations
Mutably borrows from an owned value. Read more