pub struct LaneIdOperation<'c> { /* private fields */ }
Expand description
A lane_id
operation.
Returns the lane id within the subgroup (warp/wave).
Example:
%laneId = gpu.lane_id
Implementations§
source§impl<'c> LaneIdOperation<'c>
impl<'c> LaneIdOperation<'c>
sourcepub fn as_operation(&self) -> &Operation<'c>
pub fn as_operation(&self) -> &Operation<'c>
Returns a generic operation.
sourcepub fn builder(
context: &'c Context,
location: Location<'c>
) -> LaneIdOperationBuilder<'c, Unset>
pub fn builder( context: &'c Context, location: Location<'c> ) -> LaneIdOperationBuilder<'c, Unset>
Creates a builder.
pub fn result(&self) -> Result<OperationResult<'c, '_>, Error>
Trait Implementations§
source§impl<'c> From<LaneIdOperation<'c>> for Operation<'c>
impl<'c> From<LaneIdOperation<'c>> for Operation<'c>
source§fn from(operation: LaneIdOperation<'c>) -> Self
fn from(operation: LaneIdOperation<'c>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<'c> RefUnwindSafe for LaneIdOperation<'c>
impl<'c> !Send for LaneIdOperation<'c>
impl<'c> !Sync for LaneIdOperation<'c>
impl<'c> Unpin for LaneIdOperation<'c>
impl<'c> UnwindSafe for LaneIdOperation<'c>
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