pub enum DummyIndex {
Index(isize),
Range(Box<dyn DummyIndexRange>),
IndexArray(Vec<isize>),
}
Variants§
Trait Implementations§
Source§impl From<&[isize]> for DummyIndex
impl From<&[isize]> for DummyIndex
Source§impl From<RangeFull> for DummyIndex
impl From<RangeFull> for DummyIndex
Source§impl From<RangeInclusive<isize>> for DummyIndex
impl From<RangeInclusive<isize>> for DummyIndex
Source§fn from(range: RangeInclusive<isize>) -> Self
fn from(range: RangeInclusive<isize>) -> Self
Converts to this type from the input type.
Source§impl From<RangeToInclusive<isize>> for DummyIndex
impl From<RangeToInclusive<isize>> for DummyIndex
Source§fn from(range: RangeToInclusive<isize>) -> Self
fn from(range: RangeToInclusive<isize>) -> Self
Converts to this type from the input type.
Source§impl From<isize> for DummyIndex
impl From<isize> for DummyIndex
Auto Trait Implementations§
impl Freeze for DummyIndex
impl !RefUnwindSafe for DummyIndex
impl !Send for DummyIndex
impl !Sync for DummyIndex
impl Unpin for DummyIndex
impl !UnwindSafe for DummyIndex
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