pub trait DerefPlusSelf {
    type Target: ?Sized;

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

The trait automatically implements for D: Deref with D::Target. User may add implementation of DerefPlusSelf<Target = Type> for some Type via enable_deref_for_self, where Type can be str, [T], or a local type (i.e. not an upstream type).

Required Associated Types§

Required Methods§

source

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

Implementors§

source§

impl DerefPlusSelf for KvdbSqlite<Box<[u8]>>

source§

impl<D: Deref<Target = T>, T: ?Sized> DerefPlusSelf for D

§

type Target = T