pub struct Dim3 {
pub x: u32,
pub y: u32,
pub z: u32,
}Expand description
3-D grid / block dimensions for kernel launches.
Mirrors CUDA’s dim3 struct.
Fields§
§x: u32X dimension.
y: u32Y dimension.
z: u32Z dimension.
Implementations§
Trait Implementations§
impl Copy for Dim3
impl Eq for Dim3
impl StructuralPartialEq for Dim3
Auto Trait Implementations§
impl Freeze for Dim3
impl RefUnwindSafe for Dim3
impl Send for Dim3
impl Sync for Dim3
impl Unpin for Dim3
impl UnsafeUnpin for Dim3
impl UnwindSafe for Dim3
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