diff --git a/src/layout/animator.rs b/src/layout/animator.rs index 5a11a13e..740e1b79 100644 --- a/src/layout/animator.rs +++ b/src/layout/animator.rs @@ -23,3 +23,8 @@ impl LayoutConstraintAnimatorProxy { } } } + +// TODO: Safety +unsafe impl Send for LayoutConstraintAnimatorProxy {} +unsafe impl Sync for LayoutConstraintAnimatorProxy {} + diff --git a/src/view/animator.rs b/src/view/animator.rs index 0f7357e0..92b8a3ea 100644 --- a/src/view/animator.rs +++ b/src/view/animator.rs @@ -22,3 +22,7 @@ impl ViewAnimatorProxy { } } } + +// TODO: Safety +unsafe impl Send for ViewAnimatorProxy {} +unsafe impl Sync for ViewAnimatorProxy {}