[−][src]Struct lifted::types::ResultC
A Result<*, *>
type constructor.
The Result<*, *>
type constructor has kind * -> * -> *
.
Trait Implementations
impl Bifunctor for ResultC
[src]
pub fn bimap<A, B, C, D, F: Fn(A) -> B, G: Fn(C) -> D>(
f: F,
g: G,
x: K2<Self, A, C>
) -> K2<Self, B, D>
[src]
f: F,
g: G,
x: K2<Self, A, C>
) -> K2<Self, B, D>
pub fn first<A, B, C, F: Fn(A) -> B>(f: F, x: K2<Self, A, C>) -> K2<Self, B, C>
[src]
pub fn second<A, B, C, F: Fn(B) -> C>(f: F, x: K2<Self, A, B>) -> K2<Self, A, C>
[src]
impl<T, E> Kind2<T, E> for ResultC
[src]
Auto Trait Implementations
impl RefUnwindSafe for ResultC
impl Send for ResultC
impl Sync for ResultC
impl Unpin for ResultC
impl UnwindSafe for ResultC
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,