pub trait VersionedContentMerger:
Send
+ Sync
+ NonLocalValue
+ ValueDebug {
// Required method
fn merge(
self: Vc<Self>,
contents: Vc<VersionedContents>,
) -> Vc<Box<dyn VersionedContent>>
where Self: Sized;
}
Expand description
A VersionedContentMerger
merges multiple VersionedContent
into a
single one.
Required Methods§
fn merge(
self: Vc<Self>,
contents: Vc<VersionedContents>,
) -> Vc<Box<dyn VersionedContent>>where
Self: Sized,
Trait Implementations§
Source§impl VcValueTrait for Box<dyn VersionedContentMerger>
impl VcValueTrait for Box<dyn VersionedContentMerger>
type ValueTrait = dyn VersionedContentMerger
Source§fn get_trait_type_id() -> TraitTypeId
fn get_trait_type_id() -> TraitTypeId
Returns the type id of the trait object.
Source§fn get_impl_vtables() -> &'static VTableRegistry<Self::ValueTrait>
fn get_impl_vtables() -> &'static VTableRegistry<Self::ValueTrait>
Returns the vtable for an implementation of this trait.
Panics if ValueTypeId does not implement the trait.