[][src]Trait indexing::container_traits::Trustworthy

pub unsafe trait Trustworthy {
    type Item;
    fn base_len(&self) -> usize;
}

The most basic container trait: it can have indices and ranges that are trusted to be in bounds.

Associated Types

type Item

Loading content...

Required methods

fn base_len(&self) -> usize

Loading content...

Implementations on Foreign Types

impl<'a, C: ?Sized> Trustworthy for &'a C where
    C: Trustworthy
[src]

type Item = C::Item

impl<'a, C: ?Sized> Trustworthy for &'a mut C where
    C: Trustworthy
[src]

type Item = C::Item

impl<T> Trustworthy for [T][src]

type Item = T

impl<T> Trustworthy for Vec<T>[src]

type Item = T

Loading content...

Implementors

Loading content...