pub struct MapChain {
pub first: BidiMapper,
pub second: BidiMapper,
}Expand description
A source map chain that composes two mappings.
Fields§
§first: BidiMapperFirst map (A -> B)
second: BidiMapperSecond map (B -> C)
Implementations§
Auto Trait Implementations§
impl Freeze for MapChain
impl RefUnwindSafe for MapChain
impl Send for MapChain
impl Sync for MapChain
impl Unpin for MapChain
impl UnsafeUnpin for MapChain
impl UnwindSafe for MapChain
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more