Trait writeable::PartsWrite
source · pub trait PartsWrite: Write {
type SubPartsWrite: PartsWrite + ?Sized;
// Required method
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 Part
s.
Required Associated Types§
type SubPartsWrite: PartsWrite + ?Sized
Required Methods§
Object Safety§
This trait is not object safe.