#[repr(C)]pub struct starpu_driver {
pub type_: starpu_worker_archtype,
pub id: starpu_driver__bindgen_ty_1,
}Expand description
structure for designating a given driver. See \ref UsingTheDriverAPI for more details.
Fields§
§type_: starpu_worker_archtypeType of the driver. Only ::STARPU_CPU_WORKER, ::STARPU_CUDA_WORKER and ::STARPU_OPENCL_WORKER are currently supported.
id: starpu_driver__bindgen_ty_1Trait Implementations§
Source§impl Debug for starpu_driver
impl Debug for starpu_driver
Auto Trait Implementations§
impl Freeze for starpu_driver
impl RefUnwindSafe for starpu_driver
impl !Send for starpu_driver
impl !Sync for starpu_driver
impl Unpin for starpu_driver
impl UnwindSafe for starpu_driver
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