RefOrMut

Trait RefOrMut 

Source
pub trait RefOrMut {
    type Target: 'static;
    type Mode: AccessMode;
    type Output<'a>: 'a
       where Self::Target: 'a;

    // Required method
    fn process<'a>(data: &'a mut HashTypeId2Data) -> Self::Output<'a>;
}

Required Associated Types§

Source

type Target: 'static

Source

type Mode: AccessMode

Source

type Output<'a>: 'a where Self::Target: 'a

Required Methods§

Source

fn process<'a>(data: &'a mut HashTypeId2Data) -> Self::Output<'a>

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: 'static + Ready> RefOrMut for Mut<T>

Source§

impl<T: 'static + Ready> RefOrMut for Ref<T>