pub struct Map<Get, Put> { /* private fields */ }Expand description
Lens built from a getter and a setter
Implementations§
Trait Implementations§
impl<Get: Copy, Put: Copy> Copy for Map<Get, Put>
Auto Trait Implementations§
impl<Get, Put> Freeze for Map<Get, Put>
impl<Get, Put> RefUnwindSafe for Map<Get, Put>where
Get: RefUnwindSafe,
Put: RefUnwindSafe,
impl<Get, Put> Send for Map<Get, Put>
impl<Get, Put> Sync for Map<Get, Put>
impl<Get, Put> Unpin for Map<Get, Put>
impl<Get, Put> UnwindSafe for Map<Get, Put>where
Get: UnwindSafe,
Put: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<A, B, T> LensExt<A, B> for T
impl<A, B, T> LensExt<A, B> for T
Source§fn index<I>(self, index: I) -> Then<Self, Index<I>, B>
fn index<I>(self, index: I) -> Then<Self, Index<I>, B>
Access an index in a container Read more
Source§impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
Source§fn round_into(self) -> U
fn round_into(self) -> U
Performs the conversion.