Skip to content
FutureBlitz

    Install

    Import std.data.protobuf

    ProtoBox

    std.data.protobuf

    class

    Public Class ProtoBox<T>

    A message held inside another of its own type, which a Struct can't hold itself: it's a reference, made once and never changed, so copies of the message that share it still don't share changes.

    std/data/protobuf.fb, line 795

    • Public ReadOnly Field Value: T field #

      The message it holds.

    • Public New(value: T) constructor #

      A ProtoBox that holds value.

    • Operator ==(a: ProtoBox<T>, b: ProtoBox<T>): Bool operator #

      Whether a and b hold equal messages.

    Report an issue with this page or with FutureBlitz on GitHub.