Trait PluginInner

Source
pub trait PluginInner<'a> {
    type BorrowedType: Loadable + 'a;
    type OwnedType: Loadable + 'static;
    type OwnedTypeMut: Loadable + 'a;

    // Required methods
    fn borrow_features(&'a mut self) -> Self::BorrowedType;
    fn into_features(self) -> Self::OwnedType;
    fn mut_features(&'a mut self) -> &'a mut Self::OwnedTypeMut;
}

Required Associated Types§

Required Methods§

Source

fn borrow_features(&'a mut self) -> Self::BorrowedType

Source

fn into_features(self) -> Self::OwnedType

Source

fn mut_features(&'a mut self) -> &'a mut Self::OwnedTypeMut

Implementors§

Source§

impl<'cglue_a: 'a, 'a, CGlueO: 'cglue_a + GetContainer + GetVtbl<PluginInnerVtbl<'cglue_a, <Self as GetContainer>::ContType>> + PluginInnerOpaqueObj<'cglue_a, 'a>> PluginInner<'a> for CGlueO
where PluginInnerVtbl<'cglue_a, <Self as GetContainer>::ContType>: StableAbi,