Trait citadel_sdk::prelude::PairMap
pub trait PairMap<A, B> {
// Required methods
fn map_left<U, F>(self, fx: F) -> (U, B)
where F: FnOnce(A) -> U;
fn map_right<U, F>(self, fx: F) -> (A, U)
where F: FnOnce(B) -> U;
}
Required Methods§
fn map_left<U, F>(self, fx: F) -> (U, B)where
F: FnOnce(A) -> U,
fn map_right<U, F>(self, fx: F) -> (A, U)where
F: FnOnce(B) -> U,
Object Safety§
This trait is not object safe.