pub enum BallotFindBitOrder {
Lsb = 0,
Msb = 1,
}Expand description
The specific bit a SubgroupBallotFindBit statement is looking for.
Variants§
Lsb = 0
Find the least significant set bit (the lowest invocation index).
Msb = 1
Find the most significant set bit (the highest invocation index).
Trait Implementations§
Source§impl<'arbitrary> Arbitrary<'arbitrary> for BallotFindBitOrder
impl<'arbitrary> Arbitrary<'arbitrary> for BallotFindBitOrder
Source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of
Self from the given unstructured data. Read moreSource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of
Self from the entirety of the given
unstructured data. Read moreSource§impl Clone for BallotFindBitOrder
impl Clone for BallotFindBitOrder
Source§fn clone(&self) -> BallotFindBitOrder
fn clone(&self) -> BallotFindBitOrder
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 BallotFindBitOrder
impl Debug for BallotFindBitOrder
Source§impl<'de> Deserialize<'de> for BallotFindBitOrder
impl<'de> Deserialize<'de> for BallotFindBitOrder
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for BallotFindBitOrder
impl Hash for BallotFindBitOrder
Source§impl Ord for BallotFindBitOrder
impl Ord for BallotFindBitOrder
Source§fn cmp(&self, other: &BallotFindBitOrder) -> Ordering
fn cmp(&self, other: &BallotFindBitOrder) -> Ordering
1.21.0 (const: unstable) · 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 BallotFindBitOrder
impl PartialEq for BallotFindBitOrder
Source§fn eq(&self, other: &BallotFindBitOrder) -> bool
fn eq(&self, other: &BallotFindBitOrder) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for BallotFindBitOrder
impl PartialOrd for BallotFindBitOrder
Source§impl Serialize for BallotFindBitOrder
impl Serialize for BallotFindBitOrder
impl Copy for BallotFindBitOrder
impl Eq for BallotFindBitOrder
impl StructuralPartialEq for BallotFindBitOrder
Auto Trait Implementations§
impl Freeze for BallotFindBitOrder
impl RefUnwindSafe for BallotFindBitOrder
impl Send for BallotFindBitOrder
impl Sync for BallotFindBitOrder
impl Unpin for BallotFindBitOrder
impl UnsafeUnpin for BallotFindBitOrder
impl UnwindSafe for BallotFindBitOrder
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,
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more