use core ::ops :: { Index, IndexMut };

#[ allow( dead_code ) ]
struct StructTuple< T >( Vec< T > );

impl< T > Index< usize > for StructTuple< T >
{
  type Output = T;

  fn index( &self, index: usize ) -> &Self ::Output 
  {
  &self.0[ index ]
 }
}

impl< T > IndexMut< usize > for StructTuple< T >
{
  fn index_mut( &mut self, index: usize ) -> &mut Self ::Output 
  {
  &mut self.0[ index ]
 }
}


// include!( "./only_test/struct_tuple.rs" );

