Trait RefDef

Source
pub trait RefDef {
    type Type<'this>
       where Self: 'this;
}

Required Associated Types§

Source

type Type<'this> where Self: 'this

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§

Source§

impl<T: ?Sized> RefDef for Mut<T>

Source§

type Type<'this> = &'this mut T where T: 'this

Source§

impl<T: ?Sized> RefDef for OptionMut<T>

Source§

type Type<'this> = Option<&'this mut T> where T: 'this

Source§

impl<T: ?Sized> RefDef for OptionPinMut<T>

Source§

type Type<'this> = Option<Pin<&'this mut T>> where T: 'this

Source§

impl<T: ?Sized> RefDef for OptionPinRef<T>

Source§

type Type<'this> = Option<Pin<&'this T>> where T: 'this

Source§

impl<T: ?Sized> RefDef for OptionRef<T>

Source§

type Type<'this> = Option<&'this T> where T: 'this

Source§

impl<T: ?Sized> RefDef for PinMut<T>

Source§

type Type<'this> = Pin<&'this mut T> where T: 'this

Source§

impl<T: ?Sized> RefDef for PinRef<T>

Source§

type Type<'this> = Pin<&'this T> where T: 'this

Source§

impl<T: ?Sized> RefDef for Ref<T>

Source§

type Type<'this> = &'this T where T: 'this