pub enum GatherMode {
BroadcastFirst,
Broadcast(Handle<Expression>),
Shuffle(Handle<Expression>),
ShuffleDown(Handle<Expression>),
ShuffleUp(Handle<Expression>),
ShuffleXor(Handle<Expression>),
}
Variants§
BroadcastFirst
All gather from the active lane with the smallest index
Broadcast(Handle<Expression>)
All gather from the same lane at the index given by the expression
Shuffle(Handle<Expression>)
Each gathers from a different lane at the index given by the expression
ShuffleDown(Handle<Expression>)
Each gathers from their lane plus the shift given by the expression
ShuffleUp(Handle<Expression>)
Each gathers from their lane minus the shift given by the expression
ShuffleXor(Handle<Expression>)
Each gathers from their lane xored with the given by the expression
Trait Implementations§
Source§impl Clone for GatherMode
impl Clone for GatherMode
Source§fn clone(&self) -> GatherMode
fn clone(&self) -> GatherMode
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 GatherMode
impl Debug for GatherMode
Source§impl Hash for GatherMode
impl Hash for GatherMode
Source§impl Ord for GatherMode
impl Ord for GatherMode
Source§fn cmp(&self, other: &GatherMode) -> Ordering
fn cmp(&self, other: &GatherMode) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for GatherMode
impl PartialEq for GatherMode
Source§impl PartialOrd for GatherMode
impl PartialOrd for GatherMode
impl Copy for GatherMode
impl Eq for GatherMode
impl StructuralPartialEq for GatherMode
Auto Trait Implementations§
impl Freeze for GatherMode
impl RefUnwindSafe for GatherMode
impl Send for GatherMode
impl Sync for GatherMode
impl Unpin for GatherMode
impl UnwindSafe for GatherMode
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§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<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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.