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

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

Required Methods

Implementations on Foreign Types

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

[src]

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

[src]

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

[src]

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

[src]

Implementors