Module model

Source
Expand description

Backend generators for target languages

Structs§

AbstractIterator
Arg
AsynchronousInterface
Declares that the contained interface is asynchronous
BackTracedBindingError
BadName
BindingError
CallbackFunctionBuilder
Class
Object-oriented class definition
ClassBuilder
ClassConstructor
ClassConstructorBuilder
ClassDeclaration
C-style structure forward declaration
ClassDestructor
ClassMethodBuilder
ClassSettings
Settings that affect class method naming
Collection
CollectionSettings
Settings that affect collection function naming
ConstantSet
Set of constants
ConstantSetBuilder
DeveloperInfo
Doc
DocString
Enum
EnumBuilder
EnumValue
An enum handle and a default validated variant
ErrorType
A type that wraps an inner enum and provides information on how it maps to exceptions in languages that support them
ErrorTypeBuilder
Function
C function
FunctionBuilder
FutureInterface
FutureMethod
represents a method that initiates an asynchronous operation an eventually completes an abstract future
FutureMethodBuilder
FutureSettings
Settings that affect how things are named in future-style callback interfaces
Handle
Initializer
An initializer defines how to construct a struct
Interface
InterfaceBuilder
InterfaceSettings
Settings that affect C interface member naming
IteratorSettings
Settings that affect iterator function naming
Library
LibraryBuilder
LibraryInfo
metadata related to the library
LibrarySettings
Settings that affect the names of things
Method
Represents an instance method on a class
Name
Names in oo_bindgen are subset of allowed C-style identifiers. They are enforce that names are a limited snake case.
PrimitiveRef
Used for iterator “next” functions to get an optional primitive
ReturnType
StaticClass
Static class definition
StaticClassBuilder
StaticMethod
represents a static method associated with a class
StringType
Marker class used to denote the String type with conversions to more specialized types
Struct
C-style structure definition
StructDeclaration
C-style structure forward declaration
StructField
StructFieldBuilder
StructInitializerBuilder
StructMethodBuilder
SynchronousInterface
Declares that the contained interface is synchronous only
TypedStructDeclaration
Typed wrapper around an untyped struct declaration
Version
SemVer version as defined by https://semver.org.
ZeroParameterStructInitializer
Struct handle combined with the validated name of one of it’s initializers. The initializer may not take parameters

Enums§

BasicType
Basic types are trivially copyable. They can be used in almost any context within the API model
BasicValue
Like a BasicType but with values
CallbackArgStructField
Types that can be used as a callback argument struct
CallbackArgument
Types allowed in callback function arguments
CallbackReturnValue
types that can be returned from callback functions
ConstantValue
Types of constants available
DefaultCallbackReturnValue
Like CallbackReturnValue, but with a value
DurationType
Durations may be represented in multiple ways in the underlying C API
DurationValue
Same as DurationType but with an associated value
ExceptionType
Type of exception to generate (only used in Java atm)
FunctionArgStructField
Types that can be used in a function struct, some of which might have a default value
FunctionArgument
Types that can be used as native function arguments
FunctionReturnStructField
Types that can be used in a function return value
FunctionReturnValue
types that can be returns from native functions
FunctionalTransform
A flag to the backend that tells it whether or not to optimize callbacks into Functors in the public API This flag is only inspected for functional interfaces
InitializerDefault
Default value for a field in struct initializer
InitializerType
IteratorItemType
NumberValue
A numeric value
Primitive
primitive types in most languages
PrimitiveValue
same as primitive, but with a value
Representation
How to render a numeric constant
StructType
UniversalDeclarationOr
Structs refs can always be the Universal struct type, but may also be a more specific type depending on context
UniversalOr
Structs can always be the Universal struct type, but may also be a more specific type depending on context
UniversalStructField
Types that can be used in a universal struct, some of which might have a default value
Unvalidated
Validated
Validated doc reference
ValidatedDefaultValue

Traits§

DocReference
InitializerValidator
IntoName
StructFieldType
ToDefaultString
ToDefaultVariant

Functions§

brief
doc
text

Type Aliases§

AbstractIteratorHandle
BackTraced
BindResult
CallbackArgStructBuilder
CallbackArgStructDeclaration
CallbackArgStructHandle
CallbackReturnType
ClassDeclarationHandle
ClassHandle
CollectionHandle
ConstantSetHandle
EnumHandle
ErrorTypeHandle
FunctionArgStructBuilder
FunctionArgStructDeclaration
FunctionArgStructHandle
FunctionHandle
FunctionReturnStructBuilder
FunctionReturnStructDeclaration
FunctionReturnStructHandle
FunctionReturnType
FutureInterfaceHandle
FutureMethodHandle
InterfaceHandle
MethodHandle
StaticClassHandle
StructDeclarationHandle
UniversalStructBuilder
UniversalStructDeclaration
UniversalStructHandle