pub enum Unknown {}
Expand description
Length marker for range/index of unknown length (may be empty).
Trait Implementations§
Source§impl Ord for Unknown
impl Ord for Unknown
Source§impl PartialOrd for Unknown
impl PartialOrd for Unknown
impl Copy for Unknown
impl Eq for Unknown
impl StructuralPartialEq for Unknown
Auto Trait Implementations§
impl Freeze for Unknown
impl RefUnwindSafe for Unknown
impl Send for Unknown
impl Sync for Unknown
impl Unpin for Unknown
impl UnwindSafe for Unknown
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T, Array> TrustedItem<&Array> for T
impl<T, Array> TrustedItem<&Array> for T
type Unit = <T as TrustedItem<Array>>::Unit
Source§fn vet<'id, I>(
idx: I,
container: &Container<'id, &Array>,
) -> Result<Index<'id, I, Unknown>, IndexError>where
I: Idx,
fn vet<'id, I>(
idx: I,
container: &Container<'id, &Array>,
) -> Result<Index<'id, I, Unknown>, IndexError>where
I: Idx,
Vet an index for being on item boundaries. Read more
Source§impl<T> TrustedItem<[T]> for T
impl<T> TrustedItem<[T]> for T
type Unit = T
Source§fn vet<'id, I>(
idx: I,
container: &Container<'id, [T]>,
) -> Result<Index<'id, I, Unknown>, IndexError>where
I: Idx,
fn vet<'id, I>(
idx: I,
container: &Container<'id, [T]>,
) -> Result<Index<'id, I, Unknown>, IndexError>where
I: Idx,
Vet an index for being on item boundaries. Read more
Source§impl<T, Array> TrustedItem<Box<Array>> for T
impl<T, Array> TrustedItem<Box<Array>> for T
type Unit = <T as TrustedItem<Array>>::Unit
Source§fn vet<'id, I>(
idx: I,
container: &Container<'id, Box<Array>>,
) -> Result<Index<'id, I, Unknown>, IndexError>where
I: Idx,
fn vet<'id, I>(
idx: I,
container: &Container<'id, Box<Array>>,
) -> Result<Index<'id, I, Unknown>, IndexError>where
I: Idx,
Vet an index for being on item boundaries. Read more
Source§impl<T> TrustedItem<Vec<T>> for Twhere
T: TrustedItem<[T]>,
impl<T> TrustedItem<Vec<T>> for Twhere
T: TrustedItem<[T]>,
type Unit = <T as TrustedItem<[T]>>::Unit
Source§fn vet<'id, I>(
idx: I,
container: &Container<'id, Vec<T>>,
) -> Result<Index<'id, I, Unknown>, IndexError>where
I: Idx,
fn vet<'id, I>(
idx: I,
container: &Container<'id, Vec<T>>,
) -> Result<Index<'id, I, Unknown>, IndexError>where
I: Idx,
Vet an index for being on item boundaries. Read more