Crate try_as_traits

source ·
Expand description

Contains the traits TryAsRef, TryAsMut and TypedContainer, used by the crate try_as to simplfy dealing with enums enumerating types.

See the the crate documentation for more information and documentation on how to use the traits.

Traits

A version of AsMut<T> that can fail.
A version of AsRef<T> that can fail.
A trait for types that can hold values of different types.