powerbox

package
v0.0.0-...-e2e80d8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 11, 2023 License: Apache-2.0 Imports: 4 Imported by: 1

Documentation

Index

Constants

View Source
const PowerboxDescriptor_MatchQuality_TypeID = 0xbb1afa45d25ce8de

PowerboxDescriptor_MatchQuality_TypeID is the unique identifier for the type PowerboxDescriptor_MatchQuality.

View Source
const PowerboxDescriptor_Tag_TypeID = 0xbe3d16a8df03c418

PowerboxDescriptor_Tag_TypeID is the unique identifier for the type PowerboxDescriptor_Tag.

View Source
const PowerboxDescriptor_TypeID = 0xedcf0fa3bfc71c58

PowerboxDescriptor_TypeID is the unique identifier for the type PowerboxDescriptor.

View Source
const PowerboxDisplayInfo_TypeID = 0xa553a209bee32bec

PowerboxDisplayInfo_TypeID is the unique identifier for the type PowerboxDisplayInfo.

Variables

This section is empty.

Functions

This section is empty.

Types

type PowerboxDescriptor

type PowerboxDescriptor capnp.Struct

func NewPowerboxDescriptor

func NewPowerboxDescriptor(s *capnp.Segment) (PowerboxDescriptor, error)

func NewRootPowerboxDescriptor

func NewRootPowerboxDescriptor(s *capnp.Segment) (PowerboxDescriptor, error)

func ReadRootPowerboxDescriptor

func ReadRootPowerboxDescriptor(msg *capnp.Message) (PowerboxDescriptor, error)

func (PowerboxDescriptor) DecodeFromPtr

func (PowerboxDescriptor) EncodeAsPtr

func (s PowerboxDescriptor) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (PowerboxDescriptor) HasTags

func (s PowerboxDescriptor) HasTags() bool

func (PowerboxDescriptor) IsValid

func (s PowerboxDescriptor) IsValid() bool

func (PowerboxDescriptor) Message

func (s PowerboxDescriptor) Message() *capnp.Message

func (PowerboxDescriptor) NewTags

NewTags sets the tags field to a newly allocated PowerboxDescriptor_Tag_List, preferring placement in s's segment.

func (PowerboxDescriptor) Quality

func (PowerboxDescriptor) Segment

func (s PowerboxDescriptor) Segment() *capnp.Segment

func (PowerboxDescriptor) SetQuality

func (PowerboxDescriptor) SetTags

func (PowerboxDescriptor) String

func (s PowerboxDescriptor) String() string

func (PowerboxDescriptor) Tags

func (PowerboxDescriptor) ToPtr

func (s PowerboxDescriptor) ToPtr() capnp.Ptr

type PowerboxDescriptor_Future

type PowerboxDescriptor_Future struct{ *capnp.Future }

PowerboxDescriptor_Future is a wrapper for a PowerboxDescriptor promised by a client call.

func (PowerboxDescriptor_Future) Struct

type PowerboxDescriptor_List

type PowerboxDescriptor_List = capnp.StructList[PowerboxDescriptor]

PowerboxDescriptor_List is a list of PowerboxDescriptor.

func NewPowerboxDescriptor_List

func NewPowerboxDescriptor_List(s *capnp.Segment, sz int32) (PowerboxDescriptor_List, error)

NewPowerboxDescriptor creates a new list of PowerboxDescriptor.

type PowerboxDescriptor_MatchQuality

type PowerboxDescriptor_MatchQuality uint16
const (
	PowerboxDescriptor_MatchQuality_preferred    PowerboxDescriptor_MatchQuality = 1
	PowerboxDescriptor_MatchQuality_acceptable   PowerboxDescriptor_MatchQuality = 0
	PowerboxDescriptor_MatchQuality_unacceptable PowerboxDescriptor_MatchQuality = 2
)

Values of PowerboxDescriptor_MatchQuality.

func PowerboxDescriptor_MatchQualityFromString

func PowerboxDescriptor_MatchQualityFromString(c string) PowerboxDescriptor_MatchQuality

PowerboxDescriptor_MatchQualityFromString returns the enum value with a name, or the zero value if there's no such value.

func (PowerboxDescriptor_MatchQuality) String

String returns the enum's constant name.

type PowerboxDescriptor_MatchQuality_List

type PowerboxDescriptor_MatchQuality_List = capnp.EnumList[PowerboxDescriptor_MatchQuality]

func NewPowerboxDescriptor_MatchQuality_List

func NewPowerboxDescriptor_MatchQuality_List(s *capnp.Segment, sz int32) (PowerboxDescriptor_MatchQuality_List, error)

type PowerboxDescriptor_Tag

type PowerboxDescriptor_Tag capnp.Struct

func NewPowerboxDescriptor_Tag

func NewPowerboxDescriptor_Tag(s *capnp.Segment) (PowerboxDescriptor_Tag, error)

func NewRootPowerboxDescriptor_Tag

func NewRootPowerboxDescriptor_Tag(s *capnp.Segment) (PowerboxDescriptor_Tag, error)

func ReadRootPowerboxDescriptor_Tag

func ReadRootPowerboxDescriptor_Tag(msg *capnp.Message) (PowerboxDescriptor_Tag, error)

func (PowerboxDescriptor_Tag) DecodeFromPtr

func (PowerboxDescriptor_Tag) EncodeAsPtr

func (s PowerboxDescriptor_Tag) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (PowerboxDescriptor_Tag) HasValue

func (s PowerboxDescriptor_Tag) HasValue() bool

func (PowerboxDescriptor_Tag) Id

func (PowerboxDescriptor_Tag) IsValid

func (s PowerboxDescriptor_Tag) IsValid() bool

func (PowerboxDescriptor_Tag) Message

func (s PowerboxDescriptor_Tag) Message() *capnp.Message

func (PowerboxDescriptor_Tag) Segment

func (s PowerboxDescriptor_Tag) Segment() *capnp.Segment

func (PowerboxDescriptor_Tag) SetId

func (s PowerboxDescriptor_Tag) SetId(v uint64)

func (PowerboxDescriptor_Tag) SetValue

func (s PowerboxDescriptor_Tag) SetValue(v capnp.Ptr) error

func (PowerboxDescriptor_Tag) String

func (s PowerboxDescriptor_Tag) String() string

func (PowerboxDescriptor_Tag) ToPtr

func (s PowerboxDescriptor_Tag) ToPtr() capnp.Ptr

func (PowerboxDescriptor_Tag) Value

func (s PowerboxDescriptor_Tag) Value() (capnp.Ptr, error)

type PowerboxDescriptor_Tag_Future

type PowerboxDescriptor_Tag_Future struct{ *capnp.Future }

PowerboxDescriptor_Tag_Future is a wrapper for a PowerboxDescriptor_Tag promised by a client call.

func (PowerboxDescriptor_Tag_Future) Struct

func (PowerboxDescriptor_Tag_Future) Value

type PowerboxDescriptor_Tag_List

type PowerboxDescriptor_Tag_List = capnp.StructList[PowerboxDescriptor_Tag]

PowerboxDescriptor_Tag_List is a list of PowerboxDescriptor_Tag.

func NewPowerboxDescriptor_Tag_List

func NewPowerboxDescriptor_Tag_List(s *capnp.Segment, sz int32) (PowerboxDescriptor_Tag_List, error)

NewPowerboxDescriptor_Tag creates a new list of PowerboxDescriptor_Tag.

type PowerboxDisplayInfo

type PowerboxDisplayInfo capnp.Struct

func NewPowerboxDisplayInfo

func NewPowerboxDisplayInfo(s *capnp.Segment) (PowerboxDisplayInfo, error)

func NewRootPowerboxDisplayInfo

func NewRootPowerboxDisplayInfo(s *capnp.Segment) (PowerboxDisplayInfo, error)

func ReadRootPowerboxDisplayInfo

func ReadRootPowerboxDisplayInfo(msg *capnp.Message) (PowerboxDisplayInfo, error)

func (PowerboxDisplayInfo) DecodeFromPtr

func (PowerboxDisplayInfo) Description

func (s PowerboxDisplayInfo) Description() (util.LocalizedText, error)

func (PowerboxDisplayInfo) EncodeAsPtr

func (s PowerboxDisplayInfo) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (PowerboxDisplayInfo) HasDescription

func (s PowerboxDisplayInfo) HasDescription() bool

func (PowerboxDisplayInfo) HasTitle

func (s PowerboxDisplayInfo) HasTitle() bool

func (PowerboxDisplayInfo) HasVerbPhrase

func (s PowerboxDisplayInfo) HasVerbPhrase() bool

func (PowerboxDisplayInfo) IsValid

func (s PowerboxDisplayInfo) IsValid() bool

func (PowerboxDisplayInfo) Message

func (s PowerboxDisplayInfo) Message() *capnp.Message

func (PowerboxDisplayInfo) NewDescription

func (s PowerboxDisplayInfo) NewDescription() (util.LocalizedText, error)

NewDescription sets the description field to a newly allocated util.LocalizedText struct, preferring placement in s's segment.

func (PowerboxDisplayInfo) NewTitle

func (s PowerboxDisplayInfo) NewTitle() (util.LocalizedText, error)

NewTitle sets the title field to a newly allocated util.LocalizedText struct, preferring placement in s's segment.

func (PowerboxDisplayInfo) NewVerbPhrase

func (s PowerboxDisplayInfo) NewVerbPhrase() (util.LocalizedText, error)

NewVerbPhrase sets the verbPhrase field to a newly allocated util.LocalizedText struct, preferring placement in s's segment.

func (PowerboxDisplayInfo) Segment

func (s PowerboxDisplayInfo) Segment() *capnp.Segment

func (PowerboxDisplayInfo) SetDescription

func (s PowerboxDisplayInfo) SetDescription(v util.LocalizedText) error

func (PowerboxDisplayInfo) SetTitle

func (PowerboxDisplayInfo) SetVerbPhrase

func (s PowerboxDisplayInfo) SetVerbPhrase(v util.LocalizedText) error

func (PowerboxDisplayInfo) String

func (s PowerboxDisplayInfo) String() string

func (PowerboxDisplayInfo) Title

func (PowerboxDisplayInfo) ToPtr

func (s PowerboxDisplayInfo) ToPtr() capnp.Ptr

func (PowerboxDisplayInfo) VerbPhrase

func (s PowerboxDisplayInfo) VerbPhrase() (util.LocalizedText, error)

type PowerboxDisplayInfo_Future

type PowerboxDisplayInfo_Future struct{ *capnp.Future }

PowerboxDisplayInfo_Future is a wrapper for a PowerboxDisplayInfo promised by a client call.

func (PowerboxDisplayInfo_Future) Description

func (PowerboxDisplayInfo_Future) Struct

func (PowerboxDisplayInfo_Future) Title

func (PowerboxDisplayInfo_Future) VerbPhrase

type PowerboxDisplayInfo_List

type PowerboxDisplayInfo_List = capnp.StructList[PowerboxDisplayInfo]

PowerboxDisplayInfo_List is a list of PowerboxDisplayInfo.

func NewPowerboxDisplayInfo_List

func NewPowerboxDisplayInfo_List(s *capnp.Segment, sz int32) (PowerboxDisplayInfo_List, error)

NewPowerboxDisplayInfo creates a new list of PowerboxDisplayInfo.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL