pub struct RaylibThread(/* private fields */);Expand description
This token is used to ensure certain functions are only running on the same thread raylib was initialized from. This is useful for architectures like macos where cocoa can only be called from one thread.
Trait Implementations§
Source§impl Clone for RaylibThread
impl Clone for RaylibThread
Source§fn clone(&self) -> RaylibThread
fn clone(&self) -> RaylibThread
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for RaylibThread
impl RefUnwindSafe for RaylibThread
impl !Send for RaylibThread
impl !Sync for RaylibThread
impl Unpin for RaylibThread
impl UnsafeUnpin for RaylibThread
impl UnwindSafe for RaylibThread
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