[−][src]Trait rosy::array::ArrayIndex
A type that can be used to index into an Array
.
Associated Types
type Output
The output returned from indexing.
Required methods
fn get(self, array: Array<O>) -> Option<Self::Output>
Returns the output at self
, or None
if self
is out-of-bounds.
unsafe fn get_unchecked(self, array: Array<O>) -> Self::Output
Returns the output at self
without safety checks.