Trait unchecked_index::CheckIndex [−][src]
Required methods
fn assert_indexable_with(&self, index: &I)
[src]
Assert (using a regular assertion) that the index is valid. Must not return if the index is invalid for indexing self.
Panics if index
is invalid.
Implementors
impl<'a, T: ?Sized, I> CheckIndex<I> for &'a T where
T: CheckIndex<I>,
[src]
T: CheckIndex<I>,
fn assert_indexable_with(&self, index: &I)
[src]
impl<'a, T: ?Sized, I> CheckIndex<I> for &'a mut T where
T: CheckIndex<I>,
[src]
T: CheckIndex<I>,