Development · Native API migration preview · Coverage validation in progress Published release →

API Browser

Member group

implicit conversion

Declaring type: ReadOnlyMemory<T>
Module: System
Assembly: System.Runtime.dll
Source file: ReadOnlyMemory.rvn

Overloads / Variants

op_Implicit

static func implicit(source: Memory<T>) -> ReadOnlyMemory<T>

Source file: ReadOnlyMemory.rvn

Restricts a persistent writable window to readonly access without copying.

Parameters

Name Type Description
source Memory<T>

Return value

ReadOnlyMemory<T>

op_Implicit

static func implicit(source: T[]) -> ReadOnlyMemory<T>

Source file: ReadOnlyMemory.rvn

Retains an array without copying its elements.

Parameters

Name Type Description
source T[]

Return value

ReadOnlyMemory<T>