Expand description
facet-reflect
Logo by Misiasart
Thanks to all individual and corporate sponsors, without whom this work could not exist:
Allows building values, via Wip, and inspecting existing values, via PeekValue.
§License
Licensed under either of:
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Structs§
- Frame
- Represents a frame in the initialization stack
- Frame
Flags - Flags that can be applied to frames
- Guard
- A guard structure to manage memory allocation and deallocation.
- Heap
Value - A type-erased value stored on the heap
- ISet
- Keeps track of which fields were initialized, up to 64 fields
- Peek
- Lets you read from a value (implements read-only
ValueVTableproxies) - Peek
Enum - Lets you read from an enum (implements read-only enum operations)
- Peek
List - Lets you read from a list (implements read-only
facet_core::ListVTableproxies) - Peek
List Iter - Iterator over a
PeekList - PeekMap
- Lets you read from a map (implements read-only
facet_core::MapVTableproxies) - Peek
MapIter - Iterator over key-value pairs in a
PeekMap - Peek
Option - Lets you read from an option (implements read-only option operations)
- Peek
Smart Pointer - Represents a smart pointer that can be peeked at during memory inspection.
- Peek
Struct - Lets you read from a struct (implements read-only struct operations)
- ValueId
- A unique identifier for a peek value
- Wip
- A work-in-progress heap-allocated value
Enums§
- Frame
Mode - Represents the special mode a frame can be in
- Reflect
Error - Errors that can occur when reflecting on types.
- Scalar
Type - All scalar types supported out of the box by peek and poke.
Functions§
- peek_
enum - Returns the enum definition if the shape represents an enum, None otherwise
- peek_
enum_ repr - Returns the enum representation if the shape represents an enum, None otherwise
- peek_
enum_ variants - Returns the enum variants if the shape represents an enum, None otherwise