pub trait TupleGetIndexExt<I: TupleIndex> {
type ElementType: ?Sized;
// Required methods
fn get_impl(&self) -> &Self::ElementType;
fn get_mut_impl(&mut self) -> &mut Self::ElementType;
}Expand description
This trait is on Tuple.
Required Associated Types§
type ElementType: ?Sized
Required Methods§
fn get_impl(&self) -> &Self::ElementType
fn get_mut_impl(&mut self) -> &mut Self::ElementType
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".