box

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: May 8, 2018 License: Apache-2.0 Imports: 8 Imported by: 33

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 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

This section is empty.

Jump to

Keyboard shortcuts

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