Struct libmcl_sys::mcl_device_info
source · [−]#[repr(C)]pub struct mcl_device_info {
pub id: u64,
pub name: [c_char; 256],
pub vendor: [c_char; 256],
pub type_: u64,
pub status: u64,
pub mem_size: u64,
pub pes: u64,
pub ndims: u64,
pub wgsize: u64,
pub wisize: *mut size_t,
}Fields
id: u64name: [c_char; 256]vendor: [c_char; 256]type_: u64status: u64mem_size: u64pes: u64ndims: u64wgsize: u64wisize: *mut size_tTrait Implementations
sourceimpl Clone for mcl_device_info
impl Clone for mcl_device_info
sourcefn clone(&self) -> mcl_device_info
fn clone(&self) -> mcl_device_info
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for mcl_device_info
impl Debug for mcl_device_info
impl Copy for mcl_device_info
Auto Trait Implementations
impl RefUnwindSafe for mcl_device_info
impl !Send for mcl_device_info
impl !Sync for mcl_device_info
impl Unpin for mcl_device_info
impl UnwindSafe for mcl_device_info
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more