pub trait IntoContents {
// Required method
fn into_contents(self) -> Vec<ContentBlock>;
}Expand description
Types that can be converted into a list of content blocks.
Required Methods§
fn into_contents(self) -> Vec<ContentBlock>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".