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§
Sourcefn content_source(self: Vc<Self>) -> Vc<Box<dyn ContentSource>>where
Self: Sized,
fn content_source(self: Vc<Self>) -> Vc<Box<dyn ContentSource>>where
Self: Sized,
Returns the ContentSource