Crate uniffi_meta

Crate uniffi_meta 

Source

Structs§

CallbackInterfaceMetadata
ConstructorMetadata
CustomTypeMetadata
EnumMetadata
FieldMetadata
FnMetadata
FnParamMetadata
MetadataGroup
MethodMetadata
NamespaceMetadata
ObjectMetadata
ObjectTraitImplMetadata
This notes that a type implements a Trait. eg, an impl Tr for Ob block.
RecordMetadata
TraitMethodMetadata
UdlFile
VariantMetadata

Enums§

DefaultValueMetadata
EnumShape
LiteralMetadata
Metadata
Enum covering all the possible metadata types
ObjectImpl
Radix
Type
Represents all the different high-level types that can be used in a component interface. At this level we identify user-defined types by name, without knowing any details of their internal structure apart from what type of thing they are (record, enum, etc).
UniffiTraitDiscriminants
UniffiTraitMetadata
The list of “builtin” traits we support generating helper methods for. Some interesting overlap with ObjectTraitImplMetadata, but quite different implementations for now.

Constants§

UNIFFI_CONTRACT_VERSION

Traits§

AsType
Checksum
Similar to std::hash::Hash.

Functions§

checksum
Returns the last 16 bits of the value’s hash as computed with [SipHasher13].
clone_fn_symbol_name
FFI symbol name for the clone function for an object.
constructor_checksum_symbol_name
FFI checksum symbol name for an object constructor
constructor_symbol_name
FFI symbol name for an object constructor
create_metadata_groups
ffi_buffer_symbol_name
Get the symbol name for a FFI-buffer version of a function
fn_checksum_symbol_name
FFI checksum symbol name for a top-level function
fn_symbol_name
FFI symbol name for a top-level function
free_fn_symbol_name
FFI symbol name for the free function for an object.
group_metadata
Consume the items into the previously created metadata groups.
init_callback_vtable_fn_symbol_name
FFI symbol name for the init_callback function for a callback interface
method_checksum_symbol_name
FFI checksum symbol name for an object method
method_symbol_name
FFI symbol name for an object method
read_metadata
read_metadata_type

Type Aliases§

MetadataGroupMap
TypeIterator
An abstract type for an iterator over &Type references.

Derive Macros§

Checksum
Custom derive for uniffi_meta::Checksum
Node