public static int LastIndexOf <T>(this NativeArray <T> array, T item) where T : unmanaged, IEquatable <T> { return(UnsafeArray.LastIndexOf(array.GetInnerCollection(), item)); }