pub trait GetContainer {
    type ContType: CGlueObjBase;

    // Required methods
    fn ccont_ref(&self) -> &Self::ContType;
    fn ccont_mut(&mut self) -> &mut Self::ContType;
    fn into_ccont(self) -> Self::ContType;
    fn build_with_ccont(&self, container: Self::ContType) -> Self;
}

Required Associated Types§

Required Methods§

source

fn ccont_ref(&self) -> &Self::ContType

source

fn ccont_mut(&mut self) -> &mut Self::ContType

source

fn into_ccont(self) -> Self::ContType

source

fn build_with_ccont(&self, container: Self::ContType) -> Self

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<T: Deref<Target = F>, F, V, C: ContextBounds, R> GetContainer for CGlueTraitObj<'_, T, V, C, R>