Trait rattish::container::Pointer [−][src]
pub trait Pointer where
Self: Coercible + Sized, {
unsafe fn coerce<U>(
self,
metadata: Metadata<Coerced<Self::Inner, U>>
) -> Self::Coerced
where
U: ?Sized,
Self::Coerced: Sized;
}
Expand description
A Sized
type that inherits Pointee::Metadata
from a contained type, and therefore is a “pointer” to that type; as such,
it is coercible if that contained type is coercible.