pub struct UnboundProgram { /* private fields */ }Expand description
A loaded program that is not yet pinned to a thread.
Implementations§
Source§impl UnboundProgram
impl UnboundProgram
Sourcepub fn pin_to_current_thread(self, t: ThreadEnv) -> Program
pub fn pin_to_current_thread(self, t: ThreadEnv) -> Program
Pins the program to the current thread using a prepared ThreadEnv.
Auto Trait Implementations§
impl Freeze for UnboundProgram
impl !RefUnwindSafe for UnboundProgram
impl Send for UnboundProgram
impl Sync for UnboundProgram
impl Unpin for UnboundProgram
impl !UnwindSafe for UnboundProgram
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