Expand description
Traits for converting between structural types.
The reason these traits exist instead of using From and TryFrom is,
because structural types are usually converted from
generic types bounded by the Foo_SI traits generated by the Structural derive macro,
and the Foo_SI trait is implemented by the Foo type,
which means that those impls would overlap with
the impl From<T> for T impl in the standard lbirary.
Structs§
- Empty
TryFrom Error - The “default” error for the
TryFromStructural::Errorassociated type, for when there are no details for how the conversion failed. - TryFrom
Error - The error type returned by
TryFromStructuralandTryIntoStructural.
Traits§
- From
Structural - For conversions between structural types.
- Into
Structural - For conversions between structural types.
- TryFrom
Structural - For fallible conversions between structural types.
- TryInto
Structural - For fallible conversions between structural types.