pub trait SliceId {
    type Item: ?Sized;

    fn as_slice_ref(&self) -> &[&Self::Item];
    fn as_slice_mut(&mut self) -> &mut [&Self::Item];
}
Expand description

Helper trait for functionality on slices containing Ids.

Required Associated Types

The type of the items in the slice.

Required Methods

Convert a slice of Ids into a slice of references.

Convert a mutable slice of Ids into a mutable slice of references.

Implementations on Foreign Types

Implementors