#[repr(C)]pub struct starpu_variable_interface {
pub id: starpu_data_interface_id,
pub ptr: usize,
pub dev_handle: usize,
pub offset: usize,
pub elemsize: usize,
}Expand description
Variable interface for a single data (not a vector, a matrix, a list, …)
Fields§
§id: starpu_data_interface_id< Identifier of the interface
ptr: usize< local pointer of the variable
dev_handle: usize< device handle of the variable.
offset: usize< offset in the variable
elemsize: usize< size of the variable
Trait Implementations§
Source§impl Clone for starpu_variable_interface
impl Clone for starpu_variable_interface
Source§fn clone(&self) -> starpu_variable_interface
fn clone(&self) -> starpu_variable_interface
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for starpu_variable_interface
impl Debug for starpu_variable_interface
Source§impl Default for starpu_variable_interface
impl Default for starpu_variable_interface
impl Copy for starpu_variable_interface
Auto Trait Implementations§
impl Freeze for starpu_variable_interface
impl RefUnwindSafe for starpu_variable_interface
impl Send for starpu_variable_interface
impl Sync for starpu_variable_interface
impl Unpin for starpu_variable_interface
impl UnwindSafe for starpu_variable_interface
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