UniquePtrVectorElement

Trait UniquePtrVectorElement 

Source
pub unsafe trait UniquePtrVectorElement: VectorElement + UniquePtrTarget {
    // Required methods
    fn push_unique(v: Pin<&mut CxxVector<Self>>, value: UniquePtr<Self>);
    fn pop_unique(v: Pin<&mut CxxVector<Self>>) -> UniquePtr<Self>;
}

Required Methods§

Source

fn push_unique(v: Pin<&mut CxxVector<Self>>, value: UniquePtr<Self>)

Source

fn pop_unique(v: Pin<&mut CxxVector<Self>>) -> UniquePtr<Self>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§