libobs_wrapper/
unsafe_send.rs

1#[derive(Debug, Clone)]
2pub struct Sendable<T>(pub T);
3
4unsafe impl<T> Send for Sendable<T> {}
5unsafe impl<T> Sync for Sendable<T> {}
6
7#[derive(Debug, Hash, Clone, PartialEq, Eq)]
8pub struct SendableComp<T>(pub T);
9
10unsafe impl<T: PartialEq> Send for SendableComp<T> {}
11unsafe impl<T: PartialEq> Sync for SendableComp<T> {}