Trait writeable::PartsWrite

source ·
pub trait PartsWrite: Write {
    type SubPartsWrite: PartsWrite + ?Sized;

    fn with_part(
        &mut self,
        part: Part,
        f: impl FnMut(&mut Self::SubPartsWrite) -> Result
    ) -> Result; }
Expand description

A sink that supports annotating parts of the string with Parts.

Required Associated Types§

Required Methods§

Implementors§