Table of Contents

Struct Ref<T>

Namespace
Frent.Core
Assembly
Frent.dll

A wrapper ref struct over a reference to a T

public ref struct Ref<T>

Type Parameters

T

The type this Ref<T> wraps over

Inherited Members

Properties

Value

The wrapped reference to T

public readonly ref T Value { get; }

Property Value

T

Methods

ToString()

Calls the wrapped T's ToString() function, or returns null.

public override readonly string? ToString()

Returns

string

A string representation of the wrapped T's

Operators

implicit operator T(Ref<T>)

Extracts the wrapped T from this Ref<T>

public static implicit operator T(Ref<T> @ref)

Parameters

ref Ref<T>

Returns

T