struct

RefStruct(T)

Inherits Struct < Value < Object

Constructors

Class methods

from(bytes : Bytes)

create reference from Bytes interpreting memory them as struct

Source
malloc

Creates reference to newly allocated struct

Source
unsafe_from(ptr)

create reference from any pointer (unsafe)

Source

Instance methods

initialize
Source
value

Returns underlying struct value (by copy)

Source
value=(v : T)

Set underlying struct value

Source