Table of Contents

Class SpanExtensions

Namespace
GameCanvas
Assembly
GameCanvas.dll
public static class SpanExtensions
Inheritance
SpanExtensions
Inherited Members

Methods

AsReadOnlySpan<T>(in NativeArray<T>)

public static ReadOnlySpan<T> AsReadOnlySpan<T>(this in NativeArray<T> self) where T : unmanaged

Parameters

self NativeArray<T>

Returns

ReadOnlySpan<T>

Type Parameters

T

AsReadOnlySpan<T>(in NativeList<T>)

public static ReadOnlySpan<T> AsReadOnlySpan<T>(this in NativeList<T> self) where T : unmanaged

Parameters

self NativeList<T>

Returns

ReadOnlySpan<T>

Type Parameters

T

AsSpan<T>(in NativeArray<T>)

public static Span<T> AsSpan<T>(this in NativeArray<T> self) where T : unmanaged

Parameters

self NativeArray<T>

Returns

Span<T>

Type Parameters

T

AsSpan<T>(in NativeList<T>)

public static Span<T> AsSpan<T>(this in NativeList<T> self) where T : unmanaged

Parameters

self NativeList<T>

Returns

Span<T>

Type Parameters

T