pub trait VersionedContent:
Send
+ Sync
+ NonLocalValue
+ ValueDebug {
// Required methods
fn content(self: Vc<Self>) -> Vc<AssetContent>
where Self: Sized;
fn version(self: Vc<Self>) -> Vc<Box<dyn Version>>
where Self: Sized;
// Provided method
fn update(self: Vc<Self>, from: Vc<Box<dyn Version>>) -> Vc<Update>
where Self: Sized { ... }
}
Expand description
The content of an [Asset] alongside its version.