Expand description
An index into one of two vectors.
Variants
First(usize)
Indexes the first vector.
Second(usize)
Indexes the second vector.
Trait Implementations
impl Ord for Which
source
impl Ord for Which
sourceimpl PartialOrd<Which> for Which
source
impl PartialOrd<Which> for Which
sourcefn partial_cmp(&self, other: &Which) -> Option<Ordering>
source
fn partial_cmp(&self, other: &Which) -> Option<Ordering>
sourceThis method returns an ordering between self and other values if one exists. Read more
fn lt(&self, other: &Rhs) -> bool
1.0.0 · source
fn lt(&self, other: &Rhs) -> bool
1.0.0 · sourceThis method tests less than (for self and other) and is used by the < operator. Read more
fn le(&self, other: &Rhs) -> bool
1.0.0 · source
fn le(&self, other: &Rhs) -> bool
1.0.0 · sourceThis method tests less than or equal to (for self and other) and is used by the <=
operator. Read more
impl Copy for Which
sourceimpl Eq for Which
sourceimpl StructuralEq for Which
sourceimpl StructuralPartialEq for Which
sourceAuto Trait Implementations
impl RefUnwindSafe for Which
impl Send for Which
impl Sync for Which
impl Unpin for Which
impl UnwindSafe for Which
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
source
impl<T> BorrowMut<T> for T where
T: ?Sized,
sourcefn borrow_mut(&mut self) -> &mut T
const: unstable · source
fn borrow_mut(&mut self) -> &mut T
const: unstable · sourceMutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
source
impl<T> ToOwned for T where
T: Clone,
sourcetype Owned = T
type Owned = T
The resulting type after obtaining ownership.
fn clone_into(&self, target: &mut T)
source
fn clone_into(&self, target: &mut T)
sourceUses borrowed data to replace owned data, usually by cloning. Read more