1
0
Fork 0

Don't require Send+Sync on the editor

This commit is contained in:
Robbert van der Helm 2022-02-05 20:48:21 +01:00
parent 75435ecb4a
commit 83c3410736

View file

@ -150,7 +150,7 @@ pub trait Vst3Plugin: Plugin {
} }
/// An editor for a [Plugin]. This object gets dropped when the host closes the editor. /// An editor for a [Plugin]. This object gets dropped when the host closes the editor.
pub trait Editor: Send + Sync { pub trait Editor {
/// Return the (currnent) size of the editor in pixels as a `(width, height)` pair. /// Return the (currnent) size of the editor in pixels as a `(width, height)` pair.
fn size(&self) -> (u32, u32); fn size(&self) -> (u32, u32);