pub struct SetThreadSafe(pub bool);Expand description
(FL 7.0) Call this to let FL know that this plugin is thread-safe (or not). The default is not.
You should do your own thread-sync using
Host::lock_mix.
The value is false for not safe and true for safe.
Important: this should only be used from a generator plugin!
Tuple Fields§
§0: boolTrait Implementations§
Source§impl Debug for SetThreadSafe
impl Debug for SetThreadSafe
Auto Trait Implementations§
impl Freeze for SetThreadSafe
impl RefUnwindSafe for SetThreadSafe
impl Send for SetThreadSafe
impl Sync for SetThreadSafe
impl Unpin for SetThreadSafe
impl UnsafeUnpin for SetThreadSafe
impl UnwindSafe for SetThreadSafe
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more