Module bones_framework::prelude::bones_schema::ptr
source · Expand description
Schema-aware smart pointers.
Structs§
- Helper for accessing the inner data of a schema ref at runtime.
- Helper for accessing the inner data of a schema ref at runtime.
- A wrapper type that implements [
IntoIterator<Item = FieldIdx>] for an inner string to make it easier to use withSchemaRefAccess::field_path()and other field path methods. - A typed version of
SchemaBox. - A owning, type-erased
Box-like container for types with a [Schema]. - Error returned when a field is not found in a schema.
- Access helper for a
SchemaMap. - Mutable
SchemaMapaccess helper. - Error type when attempting to cast between types with mis-matched schemas.
- An untyped reference that knows the [
Schema] of the pointee and that can be cast to a matching type. - An untyped mutable reference that knows the [
Schema] of the pointee and that can be cast to a matching type. - Access helper for a
SchemaVec. - Mutable
SchemaVecaccess helper. - Helper for accessing the inner data of a schema ref at runtime.
- Iterator for
StructRefAccess::fields(). - A field returned by
StructRefFieldIter. - Helper for accessing the inner data of a schema ref at runtime.
- Iterator for
StructRefAccess::fields(). - A field returned by
StructRefFieldIter.
Enums§
- The index of a field in a struct in a [
Schema]. - Helper for accessing the inner data of a schema ref at runtime.
- Helper for accessing the inner data of a schema ref at runtime.
- Helper for accessing the inner data of a schema ref at runtime.
- Access a schema