pub struct VIndexWithValue<V, T>(/* private fields */);
Implementations§
Source§impl<V, T> VIndexWithValue<V, T>
impl<V, T> VIndexWithValue<V, T>
pub fn map<U, F>(self, f: F) -> VIndexWithValue<V, U>where
F: FnMut(T) -> U,
Trait Implementations§
Source§impl<V, T> AdjacencyIndex for VIndexWithValue<V, T>
impl<V, T> AdjacencyIndex for VIndexWithValue<V, T>
Source§impl<V, T> AdjacencyIndexWithValue for VIndexWithValue<V, T>
impl<V, T> AdjacencyIndexWithValue for VIndexWithValue<V, T>
Source§impl<V: Clone, T: Clone> Clone for VIndexWithValue<V, T>
impl<V: Clone, T: Clone> Clone for VIndexWithValue<V, T>
Source§fn clone(&self) -> VIndexWithValue<V, T>
fn clone(&self) -> VIndexWithValue<V, T>
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 moreSource§impl<V, T> From<(V, T)> for VIndexWithValue<V, T>
impl<V, T> From<(V, T)> for VIndexWithValue<V, T>
Source§impl<V: Ord, T: Ord> Ord for VIndexWithValue<V, T>
impl<V: Ord, T: Ord> Ord for VIndexWithValue<V, T>
Source§fn cmp(&self, other: &VIndexWithValue<V, T>) -> Ordering
fn cmp(&self, other: &VIndexWithValue<V, T>) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl<V: PartialOrd, T: PartialOrd> PartialOrd for VIndexWithValue<V, T>
impl<V: PartialOrd, T: PartialOrd> PartialOrd for VIndexWithValue<V, T>
impl<V: Copy, T: Copy> Copy for VIndexWithValue<V, T>
impl<V: Eq, T: Eq> Eq for VIndexWithValue<V, T>
impl<V, T> StructuralPartialEq for VIndexWithValue<V, T>
Auto Trait Implementations§
impl<V, T> Freeze for VIndexWithValue<V, T>
impl<V, T> RefUnwindSafe for VIndexWithValue<V, T>where
V: RefUnwindSafe,
T: RefUnwindSafe,
impl<V, T> Send for VIndexWithValue<V, T>
impl<V, T> Sync for VIndexWithValue<V, T>
impl<V, T> Unpin for VIndexWithValue<V, T>
impl<V, T> UnwindSafe for VIndexWithValue<V, T>where
V: UnwindSafe,
T: UnwindSafe,
Blanket Implementations§
Source§impl<T> AsTotalOrd for Twhere
T: PartialOrd,
impl<T> AsTotalOrd for Twhere
T: PartialOrd,
fn as_total_ord(&self) -> TotalOrd<&T>
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