Struct fat_type::Erased [−][src]
pub struct Erased<T: ?Sized> { /* fields omitted */ }
Expand description
A value with a partially erased type.
The type is erased to T
, which will generally be a trait object or
slice.
Usage
An Erased
value cannot be used in any way without its associated metadata,
which is provided by the Fat<T>
type.
Reading or writing a value of this type has absolutely no effect. It
supports no operations and implements only the automatic traits it
inherits from T
.
Future Compatibility
In the future direct operations may become entirely forbidden.