Enum dep_obj::DepVecItemPos
source · [−]pub enum DepVecItemPos<ItemType: Convenient> {
FirstItem,
LastItem,
Item(ItemType),
}
Variants
FirstItem
LastItem
Item(ItemType)
Trait Implementations
sourceimpl<ItemType: Clone + Convenient> Clone for DepVecItemPos<ItemType>
impl<ItemType: Clone + Convenient> Clone for DepVecItemPos<ItemType>
sourcefn clone(&self) -> DepVecItemPos<ItemType>
fn clone(&self) -> DepVecItemPos<ItemType>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl<ItemType: Debug + Convenient> Debug for DepVecItemPos<ItemType>
impl<ItemType: Debug + Convenient> Debug for DepVecItemPos<ItemType>
sourceimpl<ItemType: Hash + Convenient> Hash for DepVecItemPos<ItemType>
impl<ItemType: Hash + Convenient> Hash for DepVecItemPos<ItemType>
sourceimpl<ItemType: Ord + Convenient> Ord for DepVecItemPos<ItemType>
impl<ItemType: Ord + Convenient> Ord for DepVecItemPos<ItemType>
sourceimpl<ItemType: PartialEq + Convenient> PartialEq<DepVecItemPos<ItemType>> for DepVecItemPos<ItemType>
impl<ItemType: PartialEq + Convenient> PartialEq<DepVecItemPos<ItemType>> for DepVecItemPos<ItemType>
sourcefn eq(&self, other: &DepVecItemPos<ItemType>) -> bool
fn eq(&self, other: &DepVecItemPos<ItemType>) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &DepVecItemPos<ItemType>) -> bool
fn ne(&self, other: &DepVecItemPos<ItemType>) -> bool
This method tests for !=
.
sourceimpl<ItemType: PartialOrd + Convenient> PartialOrd<DepVecItemPos<ItemType>> for DepVecItemPos<ItemType>
impl<ItemType: PartialOrd + Convenient> PartialOrd<DepVecItemPos<ItemType>> for DepVecItemPos<ItemType>
sourcefn partial_cmp(&self, other: &DepVecItemPos<ItemType>) -> Option<Ordering>
fn partial_cmp(&self, other: &DepVecItemPos<ItemType>) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
impl<ItemType: Eq + Convenient> Eq for DepVecItemPos<ItemType>
impl<ItemType: Convenient> StructuralEq for DepVecItemPos<ItemType>
impl<ItemType: Convenient> StructuralPartialEq for DepVecItemPos<ItemType>
Auto Trait Implementations
impl<ItemType> RefUnwindSafe for DepVecItemPos<ItemType> where
ItemType: RefUnwindSafe,
impl<ItemType> Send for DepVecItemPos<ItemType> where
ItemType: Send,
impl<ItemType> Sync for DepVecItemPos<ItemType> where
ItemType: Sync,
impl<ItemType> Unpin for DepVecItemPos<ItemType> where
ItemType: Unpin,
impl<ItemType> UnwindSafe for DepVecItemPos<ItemType> where
ItemType: 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