Trait Invert

Source
pub trait Invert {
    type Target;

    // Required method
    fn invert(self) -> Self::Target;
}

Required Associated Types§

Required Methods§

Source

fn invert(self) -> Self::Target

Implementations on Foreign Types§

Source§

impl<A, B> Invert for Result<A, B>

Source§

type Target = Result<B, A>

Source§

fn invert(self) -> Result<B, A>

Implementors§