#[value_trait]
Expand description
Allows this trait to be used as part of a trait object inside of a value
cell, in the form of Vc<dyn MyTrait>
.
§Arguments
Example: #[turbo_tasks::value_trait(no_debug, resolved)]
§’no_debug`
Disables the automatic implementation of [turbo_tasks::debug::ValueDebug
].
Example: #[turbo_tasks::value_trait(no_debug)]
§’resolved`
Adds [turbo_tasks::NonLocalValue
] as a supertrait of this trait.
Example: #[turbo_tasks::value_trait(resolved)]