pub struct TokenIndex(/* private fields */);
Trait Implementations§
Source§impl Add for TokenIndex
impl Add for TokenIndex
Source§impl AddAssign for TokenIndex
impl AddAssign for TokenIndex
Source§fn add_assign(&mut self, rhs: Self)
fn add_assign(&mut self, rhs: Self)
Performs the
+=
operation. Read moreSource§impl AsMut<<TokenIndex as Wrapper>::Inner> for TokenIndex
impl AsMut<<TokenIndex as Wrapper>::Inner> for TokenIndex
Source§impl AsRef<u32> for TokenIndex
impl AsRef<u32> for TokenIndex
Source§impl Borrow<u32> for TokenIndex
impl Borrow<u32> for TokenIndex
Source§impl BorrowMut<<TokenIndex as Wrapper>::Inner> for TokenIndex
impl BorrowMut<<TokenIndex as Wrapper>::Inner> for TokenIndex
Source§impl Clone for TokenIndex
impl Clone for TokenIndex
Source§fn clone(&self) -> TokenIndex
fn clone(&self) -> TokenIndex
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 TokenIndex
impl Debug for TokenIndex
Source§impl Default for TokenIndex
impl Default for TokenIndex
Source§fn default() -> TokenIndex
fn default() -> TokenIndex
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TokenIndex
impl<'de> Deserialize<'de> for TokenIndex
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 Display for TokenIndex
impl Display for TokenIndex
Source§impl Div for TokenIndex
impl Div for TokenIndex
Source§impl DivAssign for TokenIndex
impl DivAssign for TokenIndex
Source§fn div_assign(&mut self, rhs: Self)
fn div_assign(&mut self, rhs: Self)
Performs the
/=
operation. Read moreSource§impl From<TokenIndex> for u32
impl From<TokenIndex> for u32
Source§fn from(wrapped: TokenIndex) -> Self
fn from(wrapped: TokenIndex) -> Self
Converts to this type from the input type.
Source§impl From<u32> for TokenIndex
impl From<u32> for TokenIndex
Source§impl FromStr for TokenIndex
impl FromStr for TokenIndex
Source§impl Hash for TokenIndex
impl Hash for TokenIndex
Source§impl Mul for TokenIndex
impl Mul for TokenIndex
Source§impl MulAssign for TokenIndex
impl MulAssign for TokenIndex
Source§fn mul_assign(&mut self, rhs: Self)
fn mul_assign(&mut self, rhs: Self)
Performs the
*=
operation. Read moreSource§impl Ord for TokenIndex
impl Ord for TokenIndex
Source§fn cmp(&self, other: &TokenIndex) -> Ordering
fn cmp(&self, other: &TokenIndex) -> 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 TokenIndex
impl PartialEq for TokenIndex
Source§impl PartialOrd for TokenIndex
impl PartialOrd for TokenIndex
Source§impl Rem for TokenIndex
impl Rem for TokenIndex
Source§impl RemAssign for TokenIndex
impl RemAssign for TokenIndex
Source§fn rem_assign(&mut self, rhs: Self)
fn rem_assign(&mut self, rhs: Self)
Performs the
%=
operation. Read moreSource§impl Serialize for TokenIndex
impl Serialize for TokenIndex
Source§impl StrictDecode for TokenIndex
impl StrictDecode for TokenIndex
fn strict_decode(reader: &mut impl TypedRead) -> Result<Self, DecodeError>
fn strict_read(lim: usize, reader: impl Read) -> Result<Self, DecodeError>
Source§impl StrictEncode for TokenIndex
impl StrictEncode for TokenIndex
fn strict_encode<W: TypedWrite>(&self, writer: W) -> Result<W>
fn strict_write(&self, lim: usize, writer: impl Write) -> Result<usize, Error>
Source§impl StrictTuple for TokenIndex
impl StrictTuple for TokenIndex
const FIELD_COUNT: u8 = 1u8
fn strict_check_fields()
fn strict_type_info() -> TypeInfo<Self>
Source§impl StrictType for TokenIndex
impl StrictType for TokenIndex
const STRICT_LIB_NAME: &'static str = LIB_NAME_RGB21
fn strict_name() -> Option<TypeName>
Source§impl Sub for TokenIndex
impl Sub for TokenIndex
Source§impl SubAssign for TokenIndex
impl SubAssign for TokenIndex
Source§fn sub_assign(&mut self, rhs: Self)
fn sub_assign(&mut self, rhs: Self)
Performs the
-=
operation. Read moreSource§impl Wrapper for TokenIndex
impl Wrapper for TokenIndex
Source§fn from_inner(inner: Self::Inner) -> Self
fn from_inner(inner: Self::Inner) -> Self
Instantiates wrapper type with the inner data
Source§fn as_inner(&self) -> &Self::Inner
fn as_inner(&self) -> &Self::Inner
Returns reference to the inner representation for the wrapper type
Source§fn into_inner(self) -> Self::Inner
fn into_inner(self) -> Self::Inner
Unwraps the wrapper returning the inner type
Source§impl WrapperMut for TokenIndex
impl WrapperMut for TokenIndex
Source§fn as_inner_mut(&mut self) -> &mut <Self as Wrapper>::Inner
fn as_inner_mut(&mut self) -> &mut <Self as Wrapper>::Inner
Returns a mutable reference to the inner representation for the wrapper
type
impl Copy for TokenIndex
impl Eq for TokenIndex
impl StrictProduct for TokenIndex
impl StructuralPartialEq for TokenIndex
Auto Trait Implementations§
impl Freeze for TokenIndex
impl RefUnwindSafe for TokenIndex
impl Send for TokenIndex
impl Sync for TokenIndex
impl Unpin for TokenIndex
impl UnwindSafe for TokenIndex
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§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.