pub enum ArrayIndex {
Index(Index),
Slice((Index, Index)),
}Expand description
Represents the index in an Array.
Variants§
Trait Implementations§
Source§impl Clone for ArrayIndex
impl Clone for ArrayIndex
Source§impl Debug for ArrayIndex
impl Debug for ArrayIndex
Source§impl Display for ArrayIndex
impl Display for ArrayIndex
Source§impl PartialEq for ArrayIndex
impl PartialEq for ArrayIndex
impl StructuralPartialEq for ArrayIndex
Auto Trait Implementations§
impl Freeze for ArrayIndex
impl RefUnwindSafe for ArrayIndex
impl Send for ArrayIndex
impl Sync for ArrayIndex
impl Unpin for ArrayIndex
impl UnsafeUnpin for ArrayIndex
impl UnwindSafe for ArrayIndex
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