class · System

Spans

public class System.Spans : System.Any

What spans of comparable, equatable and number elements can do.

Kind
class
Namespace
System
Assembly
System.Core
Access
public, static, abstract
Source file
Span.ant

Inheritance

Base classes
Any Spans

Methods

static method Of<T>(list: System.List<T>) -> System.Span<T>
#

static

A span of a list's elements (in place: it sees them until the list grows).

static method Sort<T>(span: System.Span<T>) -> void
#

static

static method IndexOf<T>(span: System.Span<T>, value: T) -> i32
#

static

static method Contains<T>(span: System.Span<T>, value: T) -> bool
#

static

static method SequenceEqual<T>(a: System.Span<T>, b: System.Span<T>) -> bool
#

static

static method Sum<T>(span: System.Span<T>) -> T
#

static

Inherited members (5)

Source

Spans as Larva HIR, decompiled from its Larva HIR.

System.Spans.hir
// What spans of comparable, equatable and number elements can do.
public class System.Spans : System.Any
{
    // A span of a list's elements (in place: it sees them until the list grows).
    static method Of<T>(list: System.List<T>) -> System.Span<T>
    static method Sort<T>(span: System.Span<T>) -> void
    static method IndexOf<T>(span: System.Span<T>, value: T) -> i32
    static method Contains<T>(span: System.Span<T>, value: T) -> bool
    static method SequenceEqual<T>(a: System.Span<T>, b: System.Span<T>) -> bool
    static method Sum<T>(span: System.Span<T>) -> T
}
Esc