ReadOnlySpan2D<T> Implicit  Conversion (Span2D<T> to ReadOnlySpan2D<T>)

Implicitly converts a writable 2D span to a read-only span.

Definition

Namespace: Numerics.NET.Collections
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
C#
public static implicit operator ReadOnlySpan2D<T> (
	Span2D<T> span
)

Parameters

span  Span2D<T>
The span to convert.

Return Value

ReadOnlySpan2D<T>
span as a read-only span.

See Also