pub struct LaneId(/* private fields */);Expand description
A lane identifier (0..31 for NVIDIA, 0..63 for AMD).
Type-safe: you can’t accidentally use an arbitrary int as a lane id. Supports up to 64 lanes to accommodate AMD wavefronts.
Implementations§
Trait Implementations§
impl Copy for LaneId
impl Eq for LaneId
impl StructuralPartialEq for LaneId
Auto Trait Implementations§
impl Freeze for LaneId
impl RefUnwindSafe for LaneId
impl Send for LaneId
impl Sync for LaneId
impl Unpin for LaneId
impl UnsafeUnpin for LaneId
impl UnwindSafe for LaneId
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