Enum interoptopus_backend_csharp::Unsafe [−][src]
pub enum Unsafe {
None,
UnsafeKeyword,
UnsafePlatformMemCpy,
}
Expand description
Whether and how unsafe
in generated C# should be emitted.
Variants
None
Do not use C# unsafe
.
UnsafeKeyword
Use unsafe
for performance optimizations (Unity compatible).
UnsafePlatformMemCpy
Also use unsafe
for slice copies.
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Unsafe
impl UnwindSafe for Unsafe
Blanket Implementations
Mutably borrows from an owned value. Read more