box

package
v0.0.0-...-9202be0 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AsMemoryPointer

func AsMemoryPointer(v reflect.Value) memory.Pointer

AsMemoryPointer returns v cast to a memory.Pointer. IsMemoryPointer must return true for the type of v.

func AsMemorySlice

func AsMemorySlice(v reflect.Value) memory.Slice

AsMemorySlice returns v cast to a memory.Slice. IsMemorySlice must return true for the type of v.

func IsBoxedArray

func IsBoxedArray(t reflect.Type) bool

IsBoxedArray returns true if t implements memory.Slice.

func IsHandle

func IsHandle(t reflect.Type) bool

IsHandle returns true if t implements api.Handle.

func IsMemoryPointer

func IsMemoryPointer(t reflect.Type) bool

IsMemoryPointer returns true if t is a (or is an alias of a) memory.Pointer.

func IsMemorySlice

func IsMemorySlice(t reflect.Type) bool

IsMemorySlice returns true if t implements memory.Slice.

Types

type BoxedArray

type BoxedArray interface {
	GetArrayValues() interface{}
}

Jump to

Keyboard shortcuts

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