pub struct QueryEntry<'a, T, V> {
pub interval: Interval<T>,
pub value: &'a V,
}Expand description
An entry returned by query iteration.
Fields§
§interval: Interval<T>The interval.
value: &'a VReference to the associated value.
Trait Implementations§
Source§impl<'a, T: Clone, V: Clone> Clone for QueryEntry<'a, T, V>
impl<'a, T: Clone, V: Clone> Clone for QueryEntry<'a, T, V>
Source§fn clone(&self) -> QueryEntry<'a, T, V>
fn clone(&self) -> QueryEntry<'a, T, V>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<'a, T: Copy, V: Copy> Copy for QueryEntry<'a, T, V>
Auto Trait Implementations§
impl<'a, T, V> Freeze for QueryEntry<'a, T, V>where
T: Freeze,
impl<'a, T, V> RefUnwindSafe for QueryEntry<'a, T, V>where
T: RefUnwindSafe,
V: RefUnwindSafe,
impl<'a, T, V> Send for QueryEntry<'a, T, V>
impl<'a, T, V> Sync for QueryEntry<'a, T, V>
impl<'a, T, V> Unpin for QueryEntry<'a, T, V>where
T: Unpin,
impl<'a, T, V> UnwindSafe for QueryEntry<'a, T, V>where
T: UnwindSafe,
V: 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