pub trait IndexGetExt<T>: TupleIndex {
    type ElementType;

    // Required methods
    fn get_impl<'a>(x: &'a T) -> &'a Self::ElementType;
    fn get_mut_impl<'a>(x: &'a mut T) -> &'a mut Self::ElementType;
}

Required Associated Types§

Required Methods§

source

fn get_impl<'a>(x: &'a T) -> &'a Self::ElementType

source

fn get_mut_impl<'a>(x: &'a mut T) -> &'a mut Self::ElementType

Object Safety§

This trait is not object safe.

Implementors§