Trait IntoContents

Source
pub trait IntoContents: Sealed {
    // Required method
    fn into_contents(self) -> Vec<Content>;

    // Provided method
    fn into_cached_content_for(self, model_name: &str) -> CachedContent
       where Self: Sized { ... }
}
Expand description

Conversion trait for types that can be represented as multiple contents

§Implementations

See IntoParts for full doc

Required Methods§

Provided Methods§

Source

fn into_cached_content_for(self, model_name: &str) -> CachedContent
where Self: Sized,

Implementations on Foreign Types§

Source§

impl IntoContents for Vec<Content>

Implementors§