Expand description
§contained
Welcome to contained
! A library focused on providing useful abstractions, macros, and
utilities for handling so-called wrapper types. In short, a wrapper type is any implemented
object capable of using #[repr(transparent)]
.
Modules§
Macros§
- binary_
wrapper - The
binary_wrapper!
macro generates implementations for the core binary operations onto a generic wrapper type. It supports both tuple structs and structs with named fields. - fmt_
wrapper - A macro to implement formatting traits for wrapper structs
- impl_
wrapper_ unary - unary_
wrapper - The
unary_wrapper!
macro generates implementations for the core unary operations onto a generic wrapper type. It supports both tuple structs and structs with named fields. - wrapper
Enums§
- Error
- The custom error type for the crate.