ApiWithCtxMut

Trait ApiWithCtxMut 

Source
pub trait ApiWithCtxMut: ApiWithCtx {
    type ApiInstanceMut: Copy + Clone;

    // Required method
    fn wrap_mut(self, ctx: *mut Self::Ctx) -> Self::ApiInstanceMut;
}

Required Associated Types§

Required Methods§

Source

fn wrap_mut(self, ctx: *mut Self::Ctx) -> Self::ApiInstanceMut

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§