pub struct Workgroup2D {
pub x: u32,
pub y: u32,
}Expand description
A planned 2-D workgroup size for tiled kernels (@workgroup_size(x, y)).
Fields§
§x: u32Thread count along X.
y: u32Thread count along Y.
Implementations§
Trait Implementations§
Source§impl Clone for Workgroup2D
impl Clone for Workgroup2D
Source§fn clone(&self) -> Workgroup2D
fn clone(&self) -> Workgroup2D
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for Workgroup2D
Source§impl Debug for Workgroup2D
impl Debug for Workgroup2D
impl Eq for Workgroup2D
Source§impl PartialEq for Workgroup2D
impl PartialEq for Workgroup2D
Source§fn eq(&self, other: &Workgroup2D) -> bool
fn eq(&self, other: &Workgroup2D) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for Workgroup2D
Auto Trait Implementations§
impl Freeze for Workgroup2D
impl RefUnwindSafe for Workgroup2D
impl Send for Workgroup2D
impl Sync for Workgroup2D
impl Unpin for Workgroup2D
impl UnsafeUnpin for Workgroup2D
impl UnwindSafe for Workgroup2D
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.