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§
fn get_trait_type_id() -> TraitTypeId
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.