Skip to main content

Dynamic

Trait Dynamic 

Source
pub unsafe trait Dynamic<T>
where T: VcValueTrait + ?Sized,
{ }
Expand description

Marker trait that indicates that a Vc<Self> can accept all methods declared on a Vc<T>.

§Safety

The implementor of this trait must ensure that Self implements the trait T.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl Dynamic<Box<dyn Effect>> for Box<dyn Effect>

Source§

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

Available on debug-assertions enabled only.
Source§

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

Source§

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

Available on debug-assertions enabled only.
Source§

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

Available on debug-assertions enabled only.
Source§

impl Dynamic<Box<dyn ValueDefault>> for Box<dyn ValueDefault>

Source§

impl Dynamic<Box<dyn ValueToString>> for Box<dyn ValueToString>

Implementors§