pub struct Dim3 {
pub x: u32,
pub y: u32,
pub z: u32,
}
Available on crate feature
device
only.Expand description
Dimension specified in kernel launching
Fields§
§x: u32
§y: u32
§z: u32
Implementations§
Trait Implementations§
source§impl PartialEq for Dim3
impl PartialEq for Dim3
impl Copy for Dim3
impl Eq for Dim3
impl StructuralPartialEq for Dim3
Auto Trait Implementations§
impl Freeze for Dim3
impl PortableBitSemantics for Dim3
impl RefUnwindSafe for Dim3
impl Send for Dim3
impl StackOnly for Dim3
impl Sync for Dim3
impl Unpin for Dim3
impl UnwindSafe for Dim3
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> ExtractDiscriminant for T
impl<T> ExtractDiscriminant for T
§type Discriminant = <T as ExtractDiscriminantSpec<<T as DiscriminantKind>::Discriminant>>::Ty
type Discriminant = <T as ExtractDiscriminantSpec<<T as DiscriminantKind>::Discriminant>>::Ty
The type of the discriminant, which must satisfy the trait bounds
required by
core::mem::Discriminant
. Read more