Skip to main content

ExDeref

Trait ExDeref 

Source
pub trait ExDeref: PointeeSized {
    type ExternalTraitSpecificationFor: Deref;
    type Target: ?Sized;

    // Required method
    exec fn deref(&self) -> &Self::Target;
}

Required Associated Types§

Required Methods§

Source

exec fn deref(&self) -> &Self::Target

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§