Trait enso_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

Required methods

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

Implementations on Foreign Types

impl<T: CloneRef> ClonedRef for Option<&T>[src]

type Output = Option<T>

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

impl<T: CloneRef> ClonedRef for Option<&mut T>[src]

type Output = Option<T>

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

Implementors