pub struct RenderThreadComms {
pub sender: Option<SyncSender<(Box<dyn RenderSystem + Send>, Sender<()>)>>,
pub render_thread: Option<JoinHandle<()>>,
}Fields§
§sender: Option<SyncSender<(Box<dyn RenderSystem + Send>, Sender<()>)>>§render_thread: Option<JoinHandle<()>>Implementations§
Source§impl RenderThreadComms
impl RenderThreadComms
pub fn send( &mut self, render_system: Box<dyn RenderSystem + Send>, ) -> PresentBarrier
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RenderThreadComms
impl !RefUnwindSafe for RenderThreadComms
impl Send for RenderThreadComms
impl Sync for RenderThreadComms
impl Unpin for RenderThreadComms
impl !UnwindSafe for RenderThreadComms
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