pub struct Grid {
pub width: u32,
pub height: u32,
pub depth: u32,
}Expand description
Grid dimensions for kernel dispatch.
Fields§
§width: u32Width in cells.
height: u32Height in cells.
depth: u32Depth (for 3D grids).
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Grid
impl RefUnwindSafe for Grid
impl Send for Grid
impl Sync for Grid
impl Unpin for Grid
impl UnwindSafe for Grid
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