Restore shutdown() method to the RenderDoc<V: Version> impl block.
Removed
Remove remove_hooks() and RenderDoc<V141> impl block for now.
The previous changes from #91, moving shutdown() to the specific RenderDoc<V100> impl block and the addition of remove_hooks() to RenderDoc<V141>, won't actually work as intended in practice.
This is because the existing Deref and DerefMut implementations are not sufficient for either method to work properly. This would require the introduction of a DerefMove trait in the standard library to work (see https://github.com/rust-lang/rfcs/issues/997 for details).
Changed
shutdown()
method to theRenderDoc<V: Version>
impl block.Removed
remove_hooks()
andRenderDoc<V141>
impl block for now.The previous changes from #91, moving
shutdown()
to the specificRenderDoc<V100>
impl block and the addition ofremove_hooks()
toRenderDoc<V141>
, won't actually work as intended in practice.This is because the existing
Deref
andDerefMut
implementations are not sufficient for either method to work properly. This would require the introduction of aDerefMove
trait in the standard library to work (see https://github.com/rust-lang/rfcs/issues/997 for details).