Trait 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,