pub struct PerLane<T: GpuValue> { /* private fields */ }Expand description
A value that MAY DIFFER across lanes in a warp.
This is the default for most GPU computations. Each lane has its own value, and you can only access other lanes’ values through explicit shuffle operations.
Implementations§
Trait Implementations§
impl<T: Copy + GpuValue> Copy for PerLane<T>
impl<T: GpuValue> StructuralPartialEq for PerLane<T>
Auto Trait Implementations§
impl<T> Freeze for PerLane<T>where
T: Freeze,
impl<T> RefUnwindSafe for PerLane<T>where
T: RefUnwindSafe,
impl<T> Send for PerLane<T>
impl<T> Sync for PerLane<T>
impl<T> Unpin for PerLane<T>where
T: Unpin,
impl<T> UnsafeUnpin for PerLane<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for PerLane<T>where
T: UnwindSafe,
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