Skip to main content

OpaqueDef

Trait OpaqueDef 

Source
pub trait OpaqueDef<B: Bridge> {
    // Required method
    fn new(did: B::DefId) -> Self;
}

Required Methods§

Source

fn new(did: B::DefId) -> Self

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§