pub struct VariableSettings {
pub idx_global: bool,
pub thread_idx_global: bool,
pub absolute_idx: (bool, bool, bool),
pub block_idx_global: bool,
pub block_dim_global: bool,
pub grid_dim_global: bool,
}
Expand description
The settings to generate the right variables.
Fields§
§idx_global: bool
§thread_idx_global: bool
§absolute_idx: (bool, bool, bool)
§block_idx_global: bool
§block_dim_global: bool
§grid_dim_global: bool
Trait Implementations§
Source§impl Clone for VariableSettings
impl Clone for VariableSettings
Source§fn clone(&self) -> VariableSettings
fn clone(&self) -> VariableSettings
Returns a copy 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 VariableSettings
impl Debug for VariableSettings
Source§impl Default for VariableSettings
impl Default for VariableSettings
Source§fn default() -> VariableSettings
fn default() -> VariableSettings
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for VariableSettings
impl RefUnwindSafe for VariableSettings
impl Send for VariableSettings
impl Sync for VariableSettings
impl Unpin for VariableSettings
impl UnwindSafe for VariableSettings
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