Trait directcpp::AsCPtr

source ·
pub trait AsCPtr<T> {
    // Required method
    fn as_cptr(&self) -> CPtr<T>;
}

Required Methods§

source

fn as_cptr(&self) -> CPtr<T>

Implementors§

source§

impl<T> AsCPtr<T> for SharedPtr<T>
where T: DropSP,

source§

impl<T> AsCPtr<T> for UniquePtr<T>
where T: ManDtor,