columnar::common::index

Trait IndexAs

Source
pub trait IndexAs<T> {
    // Required method
    fn index_as(&self, index: usize) -> T;

    // Provided method
    fn last(&self) -> Option<T>
       where Self: Len { ... }
}

Required Methods§

Source

fn index_as(&self, index: usize) -> T

Provided Methods§

Source

fn last(&self) -> Option<T>
where Self: Len,

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<T: Index, S> IndexAs<S> for T
where T::Ref: CopyAs<S>,