Tanoda
Leap.Unity.IIndexable< T > Interface Template Reference

This easy-to-implement interface represents the ability to index into a collection of elements of type T. IIndexables inherit Query() via an extension method. More...

Inheritance diagram for Leap.Unity.IIndexable< T >:
Leap.Unity.RingBuffer< T >

Properties

this[int idx] [get]
 
int Count [get]
 

Detailed Description

This easy-to-implement interface represents the ability to index into a collection of elements of type T. IIndexables inherit Query() via an extension method.

IIndexable is fire-and-forget if your implementer is a reference type (class). If the implementing type is a struct, be mindful of boxing, and consider using IIndexableStruct and pooling instead.

Definition at line 21 of file IIndexable.cs.

Property Documentation

◆ Count

int Leap.Unity.IIndexable< T >.Count
get

Implemented in Leap.Unity.RingBuffer< T >.

Definition at line 25 of file IIndexable.cs.

◆ this[int idx]

T Leap.Unity.IIndexable< T >.this[int idx]
get

Implemented in Leap.Unity.RingBuffer< T >.

Definition at line 23 of file IIndexable.cs.


The documentation for this interface was generated from the following file: