Trait BB

Source
pub trait BB<'a>:
    Clone
    + Sealed
    + 'a {
    type Func<'b>: Func<'b>
       where Self: 'b,
             'a: 'b;

    // Required method
    fn new<'b, 'c>(f: Self::Func<'b>, name: &'c CStr) -> Self
       where 'a: 'b + 'c;
}

Required Associated Types§

Source

type Func<'b>: Func<'b> where Self: 'b, 'a: 'b

Required Methods§

Source

fn new<'b, 'c>(f: Self::Func<'b>, name: &'c CStr) -> Self
where 'a: 'b + 'c,

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§