fat_type provides the type
Fat<T, U>, which combines a value of type
U with the metadata needed to construct references to it as a
Because the metadata is stored with the value instead of in references,
Thin. This property is mainly useful in niche
foreign-function-interface use-cases or in memory-constrained environments.
As such, this library is
Mut<T> type is a safe wrapper around
Erased<T> type represents a value with a partially erased type.
Signifiant additional documentation is provided on the
fat_type is developed at GitLab.
A value with a partially erased type.
A type which combines a value with the metadata used to construct fat references to it.
A thin mutable reference to a
Obtains a mutable reference by respecifying the type of the sized referent, which may be erased.
Obtains an immutable reference by respecifying the type of the sized referent, which may be erased.
Obtains a safe thin mutable reference by erasing the type of the sized referent.
Obtains a thin immutable reference by erasing the type of the sized referent.
Obtains a mutable reference to the sized referent.
Obtains an immutable reference to the sized referent.
Returns the un-erased allocation
Obtains the metadata used to construct references to the unsized referent.
Obtains a mutable reference to the unsized referent.
Obtains an immutable reference to the unsized referent.