Trait SourceTransform

Source
pub trait SourceTransform:
    Send
    + Sync
    + NonLocalValue
    + ValueDebug {
    // Required method
    fn transform(
        self: Vc<Self>,
        source: Vc<Box<dyn Source>>,
    ) -> Vc<Box<dyn Source>>
       where Self: Sized;
}

Required Methods§

Source

fn transform(self: Vc<Self>, source: Vc<Box<dyn Source>>) -> Vc<Box<dyn Source>>
where Self: Sized,

Trait Implementations§

Source§

impl VcValueTrait for Box<dyn SourceTransform>

Source§

type ValueTrait = dyn SourceTransform

Source§

fn get_trait_type_id() -> TraitTypeId

Returns the type id of the trait object.
Source§

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.
Source§

impl Dynamic<Box<dyn SourceTransform>> for Box<dyn SourceTransform>

Source§

impl Dynamic<Box<dyn ValueDebug>> for Box<dyn SourceTransform>

Source§

impl Upcast<Box<dyn SourceTransform>> for Box<dyn SourceTransform>

Source§

impl Upcast<Box<dyn ValueDebug>> for Box<dyn SourceTransform>

Implementors§