Trait ByIndex

Source
pub trait ByIndex {
    // Provided methods
    fn by_index<R>(&self, index: usize) -> CDRSResult<Option<R>>
       where Self: IntoRustByIndex<R> { ... }
    fn r_by_index<R>(&self, index: usize) -> CDRSResult<R>
       where Self: IntoRustByIndex<R> { ... }
}

Provided Methods§

Source

fn by_index<R>(&self, index: usize) -> CDRSResult<Option<R>>
where Self: IntoRustByIndex<R>,

Source

fn r_by_index<R>(&self, index: usize) -> CDRSResult<R>
where Self: IntoRustByIndex<R>,

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§