Struct rutabaga_gfx::cross_domain::CrossDomainWorker
source · struct CrossDomainWorker {
wait_ctx: WaitContext,
state: Arc<CrossDomainState>,
item_state: Arc<Mutex<CrossDomainItems>>,
fence_handler: RutabagaFenceHandler,
}
Fields§
§wait_ctx: WaitContext
§state: Arc<CrossDomainState>
§item_state: Arc<Mutex<CrossDomainItems>>
§fence_handler: RutabagaFenceHandler
Implementations§
source§impl CrossDomainWorker
impl CrossDomainWorker
fn new( wait_ctx: WaitContext, state: Arc<CrossDomainState>, item_state: Arc<Mutex<CrossDomainItems>>, fence_handler: RutabagaFenceHandler ) -> CrossDomainWorker
fn handle_fence( &mut self, fence: RutabagaFence, thread_resample_evt: &Event, receive_buf: &mut [u8] ) -> RutabagaResult<()>
fn run( &mut self, thread_kill_evt: Event, thread_resample_evt: Event ) -> RutabagaResult<()>
Auto Trait Implementations§
impl !RefUnwindSafe for CrossDomainWorker
impl Send for CrossDomainWorker
impl Sync for CrossDomainWorker
impl Unpin for CrossDomainWorker
impl !UnwindSafe for CrossDomainWorker
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