pub enum IndexingOp {
IndexSelect,
IndexPut,
Gather,
Scatter,
ScatterAdd,
ScatterMax,
ScatterMin,
}Variants§
Trait Implementations§
Source§impl<'__de, __Context> BorrowDecode<'__de, __Context> for IndexingOp
impl<'__de, __Context> BorrowDecode<'__de, __Context> for IndexingOp
Source§fn borrow_decode<__D>(decoder: &mut __D) -> Result<IndexingOp, DecodeError>where
__D: BorrowDecoder<'__de, Context = __Context>,
fn borrow_decode<__D>(decoder: &mut __D) -> Result<IndexingOp, DecodeError>where
__D: BorrowDecoder<'__de, Context = __Context>,
Attempt to decode this type with the given BorrowDecode.
Source§impl Clone for IndexingOp
impl Clone for IndexingOp
Source§fn clone(&self) -> IndexingOp
fn clone(&self) -> IndexingOp
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 moreimpl Copy for IndexingOp
Source§impl Debug for IndexingOp
impl Debug for IndexingOp
Source§impl<__Context> Decode<__Context> for IndexingOp
impl<__Context> Decode<__Context> for IndexingOp
Source§fn decode<__D>(decoder: &mut __D) -> Result<IndexingOp, DecodeError>where
__D: Decoder<Context = __Context>,
fn decode<__D>(decoder: &mut __D) -> Result<IndexingOp, DecodeError>where
__D: Decoder<Context = __Context>,
Attempt to decode this type with the given Decode.
Source§impl<'de> Deserialize<'de> for IndexingOp
impl<'de> Deserialize<'de> for IndexingOp
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<IndexingOp, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<IndexingOp, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for IndexingOp
impl Display for IndexingOp
Source§impl Encode for IndexingOp
impl Encode for IndexingOp
impl Eq for IndexingOp
Source§impl PartialEq for IndexingOp
impl PartialEq for IndexingOp
Source§impl Serialize for IndexingOp
impl Serialize for IndexingOp
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for IndexingOp
Auto Trait Implementations§
impl Freeze for IndexingOp
impl RefUnwindSafe for IndexingOp
impl Send for IndexingOp
impl Sync for IndexingOp
impl Unpin for IndexingOp
impl UnsafeUnpin for IndexingOp
impl UnwindSafe for IndexingOp
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<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more