Crate owned_borrowed_trait
source ·Expand description
An abstraction over an owned value or borrowed reference based on traits and marker types instead of enums.
Structs
- A wrapper that indicates the contained value is a borrowed reference to a value of type
T
. - A wrapper that indicates the contained value is an owned value of type
T
.
Traits
- A trait for abstracting over an owned value or borrowed reference to a type
T
.