Expand description
facet-peek
Logo by Misiasart
Thanks to all individual and corporate sponsors, without whom this work could not exist:
Provides safe read operations for arbitrary Facet types.
§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. Allows peeking (reading from) shapes
Structs§
- 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
Struct - Lets you read from a struct (implements read-only struct operations)
- Peek
Value - Lets you read from a value (implements read-only
ValueVTableproxies)
Enums§
- Peek
- Lets you peek at the innards of a value
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
- peek_
option - Returns the option definition if the shape represents an option, None otherwise