pub trait GetContentSourceContent:
Send
+ Sync
+ NonLocalValue
+ ValueDebug {
// Required method
fn get(
self: Vc<Self>,
path: RcStr,
data: Value<ContentSourceData>,
) -> Vc<ContentSourceContent>
where Self: Sized;
// Provided method
fn vary(self: Vc<Self>) -> Vc<ContentSourceDataVary>
where Self: Sized { ... }
}
Expand description
A functor to receive the actual content of a content source result.
Required Methods§
Sourcefn get(
self: Vc<Self>,
path: RcStr,
data: Value<ContentSourceData>,
) -> Vc<ContentSourceContent>where
Self: Sized,
fn get(
self: Vc<Self>,
path: RcStr,
data: Value<ContentSourceData>,
) -> Vc<ContentSourceContent>where
Self: Sized,
Get the content