pub trait ListHost: Host {
type Item<'a>;
// Required method
fn append_items(
&self,
editor: &SyntaxEditor,
items: &[Self::Item<'_>],
) -> Result<(), Box<dyn Error>>;
}Required Associated Types§
Required Methods§
fn append_items( &self, editor: &SyntaxEditor, items: &[Self::Item<'_>], ) -> Result<(), Box<dyn Error>>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".