pub struct Module<'d> {
pub function: *mut c_void,
/* private fields */
}Expand description
A loaded PTX module, borrowed from the device that holds it.
Fields§
§function: *mut c_voidThe resolved entry function, ready to pass to a launch.
Trait Implementations§
Auto Trait Implementations§
impl<'d> !Send for Module<'d>
impl<'d> !Sync for Module<'d>
impl<'d> Freeze for Module<'d>
impl<'d> RefUnwindSafe for Module<'d>
impl<'d> Unpin for Module<'d>
impl<'d> UnsafeUnpin for Module<'d>
impl<'d> UnwindSafe for Module<'d>
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