write_specific_dyn

Function write_specific_dyn 

Source
pub fn write_specific_dyn<E>(writer: &mut dyn Write, v: &E) -> Result<()>
where E: EndianWrite,
Available on crate feature io-std only.
Expand description

Dyn-friendly adapter for write_specific.

This is purely ergonomic: it lets consumers call the helper from &mut dyn Write contexts without having to name (or be generic over) the writer type.