Crate facet_poke

Source
Expand description

§facet-poke

experimental free of syn crates.io documentation MIT/Apache-2.0 licensed

Thanks to all individual and corporate sponsors, without whom this work could not exist:

Ko-fi GitHub Sponsors Patreon           Zed

Provides tools for building and altering arbitrary Facet types.

§License

Licensed under either of:

at your option. Allows poking (writing to) shapes

Structs§

Guard
Ensures a value is dropped when the guard is dropped.
ISet
Keeps track of which fields were initialized, up to 64 fields
PeekList
Lets you read from a list (implements read-only [ListVTable] proxies)
PeekListIter
Iterator over a PeekList
PeekMap
Lets you read from a map (implements read-only [MapVTable] proxies)
PeekMapIter
Iterator over key-value pairs in a PeekMap
PeekStruct
Lets you read from a struct (implements read-only struct operations)
PeekValue
Lets you read from a value (implements read-only ValueVTable proxies)
PokeEnum
Allows poking an enum with a selected variant (setting fields, etc.)
PokeEnumNoVariant
Represents an enum before a variant has been selected
PokeList
Allows poking a list (appending, etc.)
PokeListUninit
Allows initializing an uninitialized list
PokeMap
Allows poking a map (inserting, etc.)
PokeMapUninit
Allows initializing an uninitialized map
PokeStruct
Allows poking a struct (setting fields, etc.)
PokeValue
Lets you write to a value (implements write-only ValueVTable proxies)

Enums§

Peek
Lets you peek at the innards of a value
Poke
Allows writing values of different kinds.
VariantError
All possible errors when getting a variant by index or by name