pub unsafe trait Parent<C>: Sizedwhere
C: Child<Parent = Self>,{
unsafe fn downcast(&self) -> &C { ... }
unsafe fn downcast_mut(&mut self) -> &mut C { ... }
}
Expand description
Struct that is the parent for an other struct.
Safety
This trait should not be implemented manually.