pub struct InvocationIds {
pub global: [u32; 3],
pub workgroup: [u32; 3],
pub local: [u32; 3],
}Expand description
Identity of one compute invocation.
Fields§
§global: [u32; 3]Global invocation id.
workgroup: [u32; 3]Workgroup id.
local: [u32; 3]Local invocation id.
Implementations§
Source§impl InvocationIds
impl InvocationIds
Trait Implementations§
Source§impl Clone for InvocationIds
impl Clone for InvocationIds
Source§fn clone(&self) -> InvocationIds
fn clone(&self) -> InvocationIds
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for InvocationIds
impl Debug for InvocationIds
Source§impl PartialEq for InvocationIds
impl PartialEq for InvocationIds
impl Copy for InvocationIds
impl Eq for InvocationIds
impl StructuralPartialEq for InvocationIds
Auto Trait Implementations§
impl Freeze for InvocationIds
impl RefUnwindSafe for InvocationIds
impl Send for InvocationIds
impl Sync for InvocationIds
impl Unpin for InvocationIds
impl UnsafeUnpin for InvocationIds
impl UnwindSafe for InvocationIds
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