Skip to main content

Crate shrinkwrap

Crate shrinkwrap 

Source

Traits§

BuildNestValue
Generic parameters
NestValueType
ToNestWith
Allows for converting a data struct (by reference) to a supported nest type.
ToWrappedWith
ToWrappedWith is automatically implemented for data structs when all top-level nests have a TransformToNest impl on each nest type within the group. All impls must be for the same transform type.
Transform
Marker trait for a transform impl
TransformOptions
TransformToNest
Primary entrypoint for data -> nest conversions.
TryBuildNestValue
Fallible version of BuildNestValue
TryToNestWith
Fallible version of ToNestWith
TryToWrappedWith
TryToWrappedWith is automatically implemented for data structs when all top-level nests have a TryTransformToNest impl on each nest type within the group. All impls must be for the same transform type.
TryTransformToNest
Fallible version of TransformToNest
TryWrapDataWith
Allows for converting a data struct into a wrapper.
WrapDataWith
Allows for converting a data struct into a wrapper.

Derive Macros§

Wrap