Trait GetContentSource

Source
pub trait GetContentSource:
    Send
    + Sync
    + NonLocalValue
    + ValueDebug {
    // Required method
    fn content_source(self: Vc<Self>) -> Vc<Box<dyn ContentSource>>
       where Self: Sized;
}
Expand description

A functor to get a ContentSource. Will be invoked when needed when using LazyInstantiatedContentSource.

Required Methods§

Source

fn content_source(self: Vc<Self>) -> Vc<Box<dyn ContentSource>>
where Self: Sized,

Returns the ContentSource

Trait Implementations§

Implementors§