pub trait Mod<'a>:
Clone
+ Sealed
+ 'a {
type Ctx<'b>: Ctx<'b>
where Self: 'b;
// Required methods
fn ctx<'b: 'a>(&'b self) -> Self::Ctx<'b>;
fn create_mod<'b, 'c, 'd>(a: &'b CStr, ctx: &'c Self::Ctx<'d>) -> Self
where 'a: 'b + 'c + 'd;
}
Required Associated Types§
Required Methods§
fn ctx<'b: 'a>(&'b self) -> Self::Ctx<'b>
fn create_mod<'b, 'c, 'd>(a: &'b CStr, ctx: &'c Self::Ctx<'d>) -> Selfwhere
'a: 'b + 'c + 'd,
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.