pub struct Map<P, F>(/* private fields */);Expand description
A property that maps the value of a wrapped property with a function.
This struct is created by PropGet::map.
Trait Implementations§
Auto Trait Implementations§
impl<P, F> Freeze for Map<P, F>
impl<P, F> RefUnwindSafe for Map<P, F>where
P: RefUnwindSafe,
F: RefUnwindSafe,
impl<P, F> Send for Map<P, F>
impl<P, F> Sync for Map<P, F>
impl<P, F> Unpin for Map<P, F>
impl<P, F> UnwindSafe for Map<P, F>where
P: UnwindSafe,
F: 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