pub enum IndexRole {
Element,
Position,
}Expand description
The role of an index in an indexed argument operation.
Variants§
Element
Identifies an existing element and therefore excludes the collection end.
Position
Identifies an insertion or boundary position, including the collection end.
Trait Implementations§
impl Copy for IndexRole
impl Eq for IndexRole
impl StructuralPartialEq for IndexRole
Auto Trait Implementations§
impl Freeze for IndexRole
impl RefUnwindSafe for IndexRole
impl Send for IndexRole
impl Sync for IndexRole
impl Unpin for IndexRole
impl UnsafeUnpin for IndexRole
impl UnwindSafe for IndexRole
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