Trait enso_flexer::prelude::logger::prelude::ClonedRef[][src]

pub trait ClonedRef {
    type Output;
    fn cloned_ref(&self) -> Self::Output;
}
Expand description

Trait for types that can be internally cloned using CloneRef, like Option<&T>.

Associated Types

Loading content...

Required methods

fn cloned_ref(&self) -> Self::Output[src]

Loading content...

Implementations on Foreign Types

impl<'_, T> ClonedRef for Option<&'_ T> where
    T: CloneRef
[src]

type Output = Option<T>

pub fn cloned_ref(&self) -> <Option<&'_ T> as ClonedRef>::Output[src]

impl<'_, T> ClonedRef for Option<&'_ mut T> where
    T: CloneRef
[src]

type Output = Option<T>

pub fn cloned_ref(&self) -> <Option<&'_ mut T> as ClonedRef>::Output[src]

Loading content...

Implementors

Loading content...