missingtypes

package
v0.0.0-...-41cedfc Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2022 License: BSD-3-Clause Imports: 2 Imported by: 2

Documentation

Overview

Package missingtypes contains types that can't be found.

As webapi packages is having WebIDL files that are extracted from different specification files, they may sometimes be missing a types. This package just define that type to get the binder program that is generating webapi code to be happy.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Date

type Date struct {
	// Value_JS holds a reference to a javascript value
	Value_JS js.Value
}

class: Date

func DateFromJS

func DateFromJS(value js.Value) *Date

DateFromJS is casting a js.Value into Date.

func DateFromWrapper

func DateFromWrapper(input core.Wrapper) *Date

DateFromJS is casting from something that holds a js.Value into Date.

func (*Date) JSValue

func (_this *Date) JSValue() js.Value

JSValue returns the js.Value or js.Null() if _this is nil

type Dictionary

type Dictionary struct {
	// Value_JS holds a reference to a javascript value
	Value_JS js.Value
}

class: Dictionary

func DictionaryFromJS

func DictionaryFromJS(value js.Value) *Dictionary

DictionaryFromJS is casting a js.Value into Dictionary.

func DictionaryFromWrapper

func DictionaryFromWrapper(input core.Wrapper) *Dictionary

DictionaryFromJS is casting from something that holds a js.Value into Dictionary.

func (*Dictionary) JSValue

func (_this *Dictionary) JSValue() js.Value

JSValue returns the js.Value or js.Null() if _this is nil

type Union

type Union struct {
	Value js.Value
}

func UnionFromJS

func UnionFromJS(value js.Value) *Union

func (*Union) JSValue

func (u *Union) JSValue() js.Value

type WritableStream

type WritableStream struct {
	// Value_JS holds a reference to a javascript value
	Value_JS js.Value
}

class: WritableStream

func WritableStreamFromJS

func WritableStreamFromJS(value js.Value) *WritableStream

WritableStreamFromJS is casting a js.Value into WritableStream.

func WritableStreamFromWrapper

func WritableStreamFromWrapper(input core.Wrapper) *WritableStream

WritableStreamFromJS is casting from something that holds a js.Value into WritableStream.

func (*WritableStream) JSValue

func (_this *WritableStream) JSValue() js.Value

JSValue returns the js.Value or js.Null() if _this is nil

Jump to

Keyboard shortcuts

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