Trait rusty_spine::c_interface::NewFromPtr
source · pub trait NewFromPtr<C> {
// Required method
unsafe fn new_from_ptr(c_ptr: *mut C) -> Self;
}
Expand description
Create a type from its underlying spine-c
pointer type.
Required Methods§
unsafe fn new_from_ptr(c_ptr: *mut C) -> Self
Object Safety§
This trait is not object safe.