Struct Index
struct Index { ... }
The index of an unnamed tuple struct field.
Fields
index: u32span: Span
Implementations
impl Clone for Index
fn clone(self: &Self) -> Self
impl Debug for Index
fn fmt(self: &Self, formatter: &mut Formatter<'_>) -> Result
impl Eq for Index
impl Freeze for Index
impl From for Index
fn from(index: usize) -> Index
impl Hash for Index
fn hash<H: Hasher>(self: &Self, state: &mut H)
impl IdentFragment for Index
fn fmt(self: &Self, formatter: &mut Formatter<'_>) -> Resultfn span(self: &Self) -> Option<Span>
impl Parse for Index
fn parse(input: ParseStream<'_>) -> Result<Self>
impl PartialEq for Index
fn eq(self: &Self, other: &Self) -> bool
impl RefUnwindSafe for Index
impl Send for Index
impl Sync for Index
impl ToTokens for Index
fn to_tokens(self: &Self, tokens: &mut TokenStream)
impl Unpin for Index
impl UnsafeUnpin for Index
impl UnwindSafe for Index
impl<T> Any for Index
fn type_id(self: &Self) -> TypeId
impl<T> Borrow for Index
fn borrow(self: &Self) -> &T
impl<T> BorrowMut for Index
fn borrow_mut(self: &mut Self) -> &mut T
impl<T> CloneToUninit for Index
unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)
impl<T> From for Index
fn from(t: T) -> TReturns the argument unchanged.
impl<T> Spanned for Index
fn span(self: &Self) -> Span
impl<T> ToOwned for Index
fn to_owned(self: &Self) -> Tfn clone_into(self: &Self, target: &mut T)
impl<T, U> Into for Index
fn into(self: Self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom for Index
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T, U> TryInto for Index
fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>