Trait npyz::TypeReadDyn[][src]

pub trait TypeReadDyn: TypeRead { }
Expand description

The proper trait to use for trait objects of TypeRead.

Box<dyn TypeRead> is useless because dyn TypeRead has no object-safe methods. The workaround is to use Box<dyn TypeReadDyn> instead, which itself implements TypeRead.

Implementors