Crate inspect

Source

Structs§

NamedField
A named field
NamedValues
Set of values from a Structable or Enumerable with named fields.
VariantDef
An enum variant definition.

Enums§

EnumDef
An enum’s variants, variant fields, and other enum-level information.
Fields
Data stored within a Structable or an Enumerable.
Slice
A slice containing primitive values.
StructDef
A struct’s name, fields, and other struct-level information.
TupleDef
The number of fields and other tuple-level information.
Value
Any Rust value
Variant
An enum variant

Traits§

Enumerable
An enum-like Valuable sub-type.
Listable
A list-like Valuable sub-type.
Mappable
A map-like Valuable sub-type.
Structable
A struct-like Valuable sub-type.
Tuplable
A tuple-like Valuable sub-type.
Valuable
A type that can be converted to a Value.
Visit
Traverse a value’s fields and variants.

Functions§

visit
Inspects a value by calling the relevant Visit methods with value’s data.