SemPtr SemPtr
SemPtr SemPtr
Documentation generated with DocFX
Using SingulinkFX as the template

Search Results for

    Operator explicit operator

    explicit operator Pointer<T>(Pointer)

    Converts a Pointer to a Pointer<T>.

    Declaration
    public static explicit operator Pointer<T>(Pointer pointer)
    Parameters
    Type Name Description
    Pointer pointer

    The Pointer to convert.

    Returns
    Type Description
    Pointer<T>

    A Pointer<T> pointing to the same target as the specified Pointer.

    explicit operator Pointer<T>(SequencePointer)

    Converts a SequencePointer to a Pointer<T>.

    Declaration
    public static explicit operator Pointer<T>(SequencePointer pointer)
    Parameters
    Type Name Description
    SequencePointer pointer

    The SequencePointer to convert.

    Returns
    Type Description
    Pointer<T>

    A Pointer<T> pointing to the same target as the specified SequencePointer.

    explicit operator Pointer<T>(PersistentPointer)

    Converts a PersistentPointer to a Pointer<T>.

    Declaration
    public static explicit operator Pointer<T>(PersistentPointer pointer)
    Parameters
    Type Name Description
    PersistentPointer pointer

    The PersistentPointer to convert.

    Returns
    Type Description
    Pointer<T>

    A Pointer<T> pointing to the same target as the specified PersistentPointer.

    explicit operator Pointer<T>(PersistentSequencePointer)

    Converts a PersistentSequencePointer to a Pointer<T>.

    Declaration
    public static explicit operator Pointer<T>(PersistentSequencePointer pointer)
    Parameters
    Type Name Description
    PersistentSequencePointer pointer

    The PersistentSequencePointer to convert.

    Returns
    Type Description
    Pointer<T>

    A Pointer<T> pointing to the same target as the specified PersistentSequencePointer.

    explicit operator FunctionPointer(Pointer<T>)

    Converts a Pointer<T> to a FunctionPointer.

    Declaration
    public static explicit operator FunctionPointer(Pointer<T> pointer)
    Parameters
    Type Name Description
    Pointer<T> pointer

    The Pointer<T> to convert.

    Returns
    Type Description
    FunctionPointer

    A FunctionPointer pointing to the target function that's the same target as the specified Pointer<T>, reinterpreted as an executable function.

    explicit operator NullableFunctionPointer(Pointer<T>)

    Converts a Pointer<T> to a NullableFunctionPointer.

    Declaration
    public static explicit operator NullableFunctionPointer(Pointer<T> pointer)
    Parameters
    Type Name Description
    Pointer<T> pointer

    The Pointer<T> to convert.

    Returns
    Type Description
    NullableFunctionPointer

    A NullableFunctionPointer pointing to the target function that's the same target as the specified Pointer<T>, reinterpreted as an executable function.

    © 2026 Felix Rüdiger. SemPtr and its documentation are licensed under the MIT license.