Struct accel::kernel::Block [−][src]
pub struct Block(_);
Size of Block (thread block) in CUDA thread hierarchy
Methods
impl Block
[src]
impl Block
pub fn x(x: u32) -> Self
[src]
pub fn x(x: u32) -> Self
one-dimensional
pub fn xy(x: u32, y: u32) -> Self
[src]
pub fn xy(x: u32, y: u32) -> Self
two-dimensional
pub fn xyz(x: u32, y: u32, z: u32) -> Self
[src]
pub fn xyz(x: u32, y: u32, z: u32) -> Self
three-dimensional
Trait Implementations
impl Debug for Block
[src]
impl Debug for Block
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for Block
[src]
impl Clone for Block
fn clone(&self) -> Block
[src]
fn clone(&self) -> Block
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Copy for Block
[src]
impl Copy for Block
impl From<dim3> for Block
[src]
impl From<dim3> for Block
impl Deref for Block
[src]
impl Deref for Block
type Target = dim3
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target
[src]
fn deref(&self) -> &Self::Target
Dereferences the value.
impl DerefMut for Block
[src]
impl DerefMut for Block