pub struct Map<'m, M, F> { /* private fields */ }Expand description
Helper type for PropMap::map. See that method for more information.
Trait Implementations§
Source§impl<'m, H, M, F, TargetT> PropMap<H> for Map<'m, M, F>
impl<'m, H, M, F, TargetT> PropMap<H> for Map<'m, M, F>
Source§fn get(&self, handle: H) -> Option<Value<Self::Ret<'_>, Self::Target>>
fn get(&self, handle: H) -> Option<Value<Self::Ret<'_>, Self::Target>>
Returns the property associated with
handle or None if no such
property exists. For technical reasons, the returned value is wrapped
in Value.Source§fn contains_handle(&self, handle: H) -> bool
fn contains_handle(&self, handle: H) -> bool
Returns
true if there is a property associated with handle, false
otherwise.Auto Trait Implementations§
impl<'m, M, F> Freeze for Map<'m, M, F>where
F: Freeze,
impl<'m, M, F> RefUnwindSafe for Map<'m, M, F>where
F: RefUnwindSafe,
M: RefUnwindSafe,
impl<'m, M, F> Send for Map<'m, M, F>
impl<'m, M, F> Sync for Map<'m, M, F>
impl<'m, M, F> Unpin for Map<'m, M, F>where
F: Unpin,
impl<'m, M, F> UnsafeUnpin for Map<'m, M, F>where
F: UnsafeUnpin,
impl<'m, M, F> UnwindSafe for Map<'m, M, F>where
F: UnwindSafe,
M: RefUnwindSafe,
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