pub struct MapContinuousLinear { /* private fields */ }Implementations§
Trait Implementations§
Source§impl Clone for MapContinuousLinear
impl Clone for MapContinuousLinear
Source§fn clone(&self) -> MapContinuousLinear
fn clone(&self) -> MapContinuousLinear
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<CS: ChunkScope> ScopeUniqueMap<CS> for MapContinuousLinear
impl<CS: ChunkScope> ScopeUniqueMap<CS> for MapContinuousLinear
type IndexType = u32
type GlobalIndexType = u32
Source§fn map(
&self,
idx: Self::IndexType,
thread_ids: [u32; 6],
) -> (bool, Self::GlobalIndexType)
fn map( &self, idx: Self::IndexType, thread_ids: [u32; 6], ) -> (bool, Self::GlobalIndexType)
Returns the extra precondition of indexing operation and the global
index. Without providing extra precondition, index will always check the
OOB error with global idx.
fn precondition(&self) -> bool
impl Copy for MapContinuousLinear
Auto Trait Implementations§
impl Freeze for MapContinuousLinear
impl RefUnwindSafe for MapContinuousLinear
impl Send for MapContinuousLinear
impl Sync for MapContinuousLinear
impl Unpin for MapContinuousLinear
impl UnwindSafe for MapContinuousLinear
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