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§

source

unsafe fn new_from_ptr(c_ptr: *mut C) -> Self

Object Safety§

This trait is not object safe.

Implementors§