Struct interoptopus_backend_csharp::overloads::Unity
source · pub struct Unity {}
Expand description
Provides Unity overloads, make sure to use Unsafe::UnsafeKeyword
or higher.
This provider adds convenience methods when working with unsafe
and Burst Unity. It adds:
- signatures with
NativeArray<>
, - fast memcpy for slices,
- handling of the
ref Slice
pattern for Burst, - IntPtr overloads for callbacks, making them Burst compatible.
Implementations§
Auto Trait Implementations§
impl Freeze for Unity
impl RefUnwindSafe for Unity
impl Send for Unity
impl Sync for Unity
impl Unpin for Unity
impl UnwindSafe for Unity
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