pub trait TakeRandomUtf8 {
    type Item;

    fn get(self, index: usize) -> Option<Self::Item>;

    unsafe fn get_unchecked(self, index: usize) -> Option<Self::Item> { ... }
}

Required Associated Types

Required Methods

Get a nullable value by index.

Panics

Panics if index >= self.len()

Provided Methods

Get a value by index and ignore the null bit.

Safety

Does not do bound checks.

Implementors