speedcapnp

package
v1.4.8 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2026 License: MPL-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const Point_TypeID = 0x93ea14493a7e63a2

Point_TypeID is the unique identifier for the type Point.

Variables

This section is empty.

Functions

func RegisterSchema

func RegisterSchema(reg *schemas.Registry)

Types

type Point

type Point capnp.Struct

func NewPoint

func NewPoint(s *capnp.Segment) (Point, error)

func NewRootPoint

func NewRootPoint(s *capnp.Segment) (Point, error)

func ReadRootPoint

func ReadRootPoint(msg *capnp.Message) (Point, error)

func (Point) DecodeFromPtr

func (Point) DecodeFromPtr(p capnp.Ptr) Point

func (Point) EncodeAsPtr

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

func (Point) IsValid

func (s Point) IsValid() bool

func (Point) Message

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

func (Point) Segment

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

func (Point) SetX

func (s Point) SetX(v uint32)

func (Point) SetY

func (s Point) SetY(v uint32)

func (Point) SetZ

func (s Point) SetZ(v uint32)

func (Point) String

func (s Point) String() string

func (Point) ToPtr

func (s Point) ToPtr() capnp.Ptr

func (Point) X

func (s Point) X() uint32

func (Point) Y

func (s Point) Y() uint32

func (Point) Z

func (s Point) Z() uint32

type Point_Future

type Point_Future struct{ *capnp.Future }

Point_Future is a wrapper for a Point promised by a client call.

func (Point_Future) Struct

func (f Point_Future) Struct() (Point, error)

type Point_List

type Point_List = capnp.StructList[Point]

Point_List is a list of Point.

func NewPoint_List

func NewPoint_List(s *capnp.Segment, sz int32) (Point_List, error)

NewPoint creates a new list of Point.

Jump to

Keyboard shortcuts

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