#[derive(NonLocalValue)]
{
// Attributes available to this derive:
#[turbo_tasks]
}
Expand description
Implements NonLocalValue for a struct or enum by adding static (compile-time)
assertions that every field implements NonLocalValue.
Fields that are known not to contain Vc can be excluded from assertions using the
#[turbo_tasks(unsafe_ignore)] annotation. This can be useful for third-party library
types that cannot implement NonLocalValue due to the orphan rules.