pub struct EntryOpt<I: Id, V: Val> {
pub id: I,
pub val: Option<V>,
}
Fields§
§id: I
Row identifier
val: Option<V>
Indexed value
Trait Implementations§
Auto Trait Implementations§
impl<I, V> Freeze for EntryOpt<I, V>
impl<I, V> RefUnwindSafe for EntryOpt<I, V>where
I: RefUnwindSafe,
V: RefUnwindSafe,
impl<I, V> Send for EntryOpt<I, V>
impl<I, V> Sync for EntryOpt<I, V>
impl<I, V> Unpin for EntryOpt<I, V>
impl<I, V> UnwindSafe for EntryOpt<I, V>where
I: UnwindSafe,
V: 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