pub struct Entry<T> {
pub value: T,
/* private fields */
}
Expand description
An entry in the sparse set. You can retrieve a slice (possibly mutable) of Entry from the SparseSet.
Fields
value: T
The value stored in the entry. A reference to it is returned by value() and value_mut(), as well as get() and get_mut() directly from SparseSet. The field can be used without going trough the accessors functions since it is public.
Implementations
Auto Trait Implementations
impl<T> RefUnwindSafe for Entry<T> where
T: RefUnwindSafe,
impl<T> Send for Entry<T> where
T: Send,
impl<T> Sync for Entry<T> where
T: Sync,
impl<T> Unpin for Entry<T> where
T: Unpin,
impl<T> UnwindSafe for Entry<T> where
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more