Trait sourmash::ffi::utils::ForeignObject[][src]

pub trait ForeignObject: Sized {
    type RustObject;
    unsafe fn from_rust(object: Self::RustObject) -> *mut Self { ... }
unsafe fn from_ref(object: &Self::RustObject) -> *const Self { ... }
unsafe fn as_rust<'a>(pointer: *const Self) -> &'a Self::RustObject { ... }
unsafe fn as_rust_mut<'a>(pointer: *mut Self) -> &'a mut Self::RustObject { ... }
unsafe fn into_rust(pointer: *mut Self) -> Box<Self::RustObject> { ... }
unsafe fn drop(pointer: *mut Self) { ... } }

Associated Types

Provided methods

Implementors