pub trait RefTargetOptionExt {
    type Value;

    // Required method
    fn flatten(self) -> Self::Value;
}
Expand description

Helper to strip redundant Option<T> from RefTarget lookup result.

Required Associated Types§

Required Methods§

source

fn flatten(self) -> Self::Value

Implementations on Foreign Types§

source§

impl RefTargetOptionExt for Option<RefTarget>

§

type Value = RefTarget

source§

fn flatten(self) -> Self::Value

source§

impl RefTargetOptionExt for Option<RemoteRef>

§

type Value = RemoteRef

source§

fn flatten(self) -> Self::Value

source§

impl<'a> RefTargetOptionExt for Option<&'a RefTarget>

§

type Value = &'a RefTarget

source§

fn flatten(self) -> Self::Value

source§

impl<'a> RefTargetOptionExt for Option<&'a RemoteRef>

§

type Value = &'a RemoteRef

source§

fn flatten(self) -> Self::Value

Implementors§