Struct cudarc::driver::sys::CUdevprop_st
source · #[repr(C)]pub struct CUdevprop_st {
pub maxThreadsPerBlock: c_int,
pub maxThreadsDim: [c_int; 3],
pub maxGridSize: [c_int; 3],
pub sharedMemPerBlock: c_int,
pub totalConstantMemory: c_int,
pub SIMDWidth: c_int,
pub memPitch: c_int,
pub regsPerBlock: c_int,
pub clockRate: c_int,
pub textureAlign: c_int,
}
Fields§
§maxThreadsPerBlock: c_int
§maxThreadsDim: [c_int; 3]
§maxGridSize: [c_int; 3]
§totalConstantMemory: c_int
§SIMDWidth: c_int
§memPitch: c_int
§regsPerBlock: c_int
§clockRate: c_int
§textureAlign: c_int
Trait Implementations§
source§impl Clone for CUdevprop_st
impl Clone for CUdevprop_st
source§fn clone(&self) -> CUdevprop_st
fn clone(&self) -> CUdevprop_st
Returns a copy 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 CUdevprop_st
impl Debug for CUdevprop_st
source§impl Default for CUdevprop_st
impl Default for CUdevprop_st
source§fn default() -> CUdevprop_st
fn default() -> CUdevprop_st
Returns the “default value” for a type. Read more
source§impl Hash for CUdevprop_st
impl Hash for CUdevprop_st
source§impl Ord for CUdevprop_st
impl Ord for CUdevprop_st
source§fn cmp(&self, other: &CUdevprop_st) -> Ordering
fn cmp(&self, other: &CUdevprop_st) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<CUdevprop_st> for CUdevprop_st
impl PartialEq<CUdevprop_st> for CUdevprop_st
source§fn eq(&self, other: &CUdevprop_st) -> bool
fn eq(&self, other: &CUdevprop_st) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<CUdevprop_st> for CUdevprop_st
impl PartialOrd<CUdevprop_st> for CUdevprop_st
source§fn partial_cmp(&self, other: &CUdevprop_st) -> Option<Ordering>
fn partial_cmp(&self, other: &CUdevprop_st) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for CUdevprop_st
impl Eq for CUdevprop_st
impl StructuralEq for CUdevprop_st
impl StructuralPartialEq for CUdevprop_st
Auto Trait Implementations§
impl RefUnwindSafe for CUdevprop_st
impl Send for CUdevprop_st
impl Sync for CUdevprop_st
impl Unpin for CUdevprop_st
impl UnwindSafe for CUdevprop_st
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