Trait npyz::TypeWriteDyn[][src]

pub trait TypeWriteDyn: TypeWrite { }
Expand description

The proper trait to use for trait objects of TypeWrite.

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

Implementors