Trait VcValueTrait

Source
pub trait VcValueTrait:
    NonLocalValue
    + Send
    + Sync
    + 'static {
    // Required method
    fn get_trait_type_id() -> TraitTypeId;
}
Expand description

A trait implemented on all values trait object references that can be put into a Value Cell (Vc<Box<dyn Trait>>).

Required Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl VcValueTrait for Box<dyn ValueDebug>

Source§

impl VcValueTrait for Box<dyn ValueDefault>

Source§

impl VcValueTrait for Box<dyn ValueToString>

Source§

impl VcValueTrait for Box<dyn Effect>

Implementors§