searchState.loadedDescShard("syn", 0, "github crates-io docs-rs\nThe binary interface of a function: extern "C"
.\nThe +
operator (addition)\nThe +=
operator\nThe &&
operator (logical and)\nThe <'a, T>
in std::slice::iter<'a, T>
.\nAngle bracketed arguments of a path segment: the <K, V>
in …\nOne arm of a match
expression: 0..=10 => { return true; }
.\nA slice literal expression: [a, b, c, d]
.\nA fixed size array type: [T; n]
.\nAn assignment expression: a = compute()
.\nAn equality constraint on an associated constant: the …\nAn equality constraint on an associated constant: the …\nA binding (equality constraint) on an associated type: the …\nA binding (equality constraint) on an associated type: the …\nAn async block: async { ... }
.\nDistinguishes between attributes that decorate an item and …\nAn attribute, like #[repr(transparent)]
.\nAn await expression: fut.await
.\nA bare function type: fn(usize) -> bool
.\nAn argument in a function type: the usize
in …\nThe variadic argument of a function pointer like …\nA binary operator: +
, +=
, &
.\nA binary operation: a + b
, a += b
.\nThe &
operator (bitwise and)\nThe &=
operator\nThe |
operator (bitwise or)\nThe |=
operator\nThe ^
operator (bitwise xor)\nThe ^=
operator\nA braced block containing Rust statements.\nA blocked scope: { ... }
.\nA boolean literal: true
or false
.\nA set of bound lifetimes: for<'a, 'b, 'c>
.\nA break
, with an optional label to break and an optional …\nA byte literal: b'f'
.\nA byte string literal: b"foo"
.\nA nul-terminated C-string literal: c"foo"
.\nA function call expression: invoke(a, b)
.\nSingle parameter in a precise capturing bound.\nA cast expression: foo as f64
.\nA character literal: 'a'
.\nInclusive at the beginning and end.\nA closure expression: |a, b| a + b
.\nA const block: const { ... }
.\nA const generic parameter: const LENGTH: usize
.\nA constant item: const MAX: u16 = 65535
.\nAn associated constant within the definition of a trait.\nAn associated constant within an impl block.\nA const block: const { ... }
.\nA const expression. Must be inside of a block.\nA const generic parameter: const LENGTH: usize
.\nAn associated type bound: Iterator<Item: Display>
.\nAn associated type bound: Iterator<Item: Display>
.\nA continue
, with an optional label.\nThe storage of a struct, enum or union data structure.\nAn enum input to a proc_macro_derive
macro.\nA struct input to a proc_macro_derive
macro.\nAn untagged union input to a proc_macro_derive
macro.\nReturn type is not specified.\nThe *
operator for dereferencing\nData structure sent to a proc_macro_derive
macro.\nThe /
operator (division)\nThe /=
operator\nAn enum definition: enum Foo<A, B> { A(A), B(B) }
.\nThe ==
operator (equality)\nContains the error value\nError returned when a Syn parser cannot parse the input …\nA Rust expression.\nExpression, with or without trailing semicolon.\nA slice literal expression: [a, b, c, d]
.\nAn assignment expression: a = compute()
.\nAn async block: async { ... }
.\nAn await expression: fut.await
.\nA binary operation: a + b
, a += b
.\nA blocked scope: { ... }
.\nA break
, with an optional label to break and an optional …\nA function call expression: invoke(a, b)
.\nA cast expression: foo as f64
.\nA closure expression: |a, b| a + b
.\nA const block: const { ... }
.\nA continue
, with an optional label.\nAccess of a named struct field (obj.k
) or unnamed tuple …\nA for loop: for pat in expr { ... }
.\nAn expression contained within invisible delimiters.\nAn if
expression with an optional else
block: …\nA square bracketed indexing expression: vector[2]
.\nThe inferred value of a const generic argument, denoted _
.\nA let
guard: let Some(x) = opt
.\nA literal in place of an expression: 1
, "foo"
.\nConditionless loop: loop { ... }
.\nA macro invocation expression: format!("{}", q)
.\nA match
expression: match n { Some(n) => {}, None => {} }
.\nA method call expression: x.foo::<T>(a, b)
.\nA parenthesized expression: (a + b)
.\nA path like std::mem::replace
possibly containing generic …\nA range expression: 1..2
, 1..
, ..2
, 1..=2
, ..=2
.\nAddress-of operation: &raw const place
or &raw mut place
.\nA referencing operation: &a
or &mut a
.\nAn array literal constructed from one repeated element: …\nA return
, with an optional value to be returned.\nA struct literal expression: Point { x: 1, y: 1 }
.\nA try-expression: expr?
.\nA try block: try { ... }
.\nA tuple expression: (a, b, c, d)
.\nA unary operation: !x
, *x
.\nAn unsafe block: unsafe { ... }
.\nA while loop: while expr { ... }
.\nA yield expression: yield expr
.\nAn extern crate
item: extern crate serde
.\nA field of a struct or enum variant.\nAccess of a named struct field (obj.k
) or unnamed tuple …\nUnused, but reserved for RFC 3323 restrictions.\nA single field in a struct pattern.\nA field-value pair in a struct literal.\nData stored within an enum variant or struct.\nNamed fields of a struct or struct variant such as …\nUnnamed fields of a tuple struct or tuple variant such as …\nA complete file of Rust source code.\nA floating point literal: 1f64
or 1.0e10f64
.\nA free-standing function: …\nA foreign function in an extern
block.\nAn associated function within the definition of a trait.\nAn associated function within an impl block.\nAn argument in a function signature: the n: usize
in …\nA for loop: for pat in expr { ... }
.\nAn item within an extern
block.\nA foreign function in an extern
block.\nA macro invocation within an extern block.\nA foreign static item in an extern
block: static ext: u8
.\nA foreign type in an extern
block: type void
.\nA block of foreign items: extern "C" { ... }
.\nThe >=
operator (greater than or equal to)\nAn individual generic argument, like 'a
, T
, or Item = T
.\nA generic type parameter, lifetime, or const generic: …\nLifetimes and type parameters attached to a declaration of …\nA glob import in a use
item: *
.\nAn expression contained within invisible delimiters.\nA braced group of imports in a use
item: {A, B, C}
.\nA type contained within invisible delimiters.\nThe >
operator (greater than)\nInclusive at the beginning, exclusive at the end.\nA word of Rust code, which may be a keyword or legal …\nA type parameter or const generic parameter in precise …\nA pattern that binds a new variable: …\nAn if
expression with an optional else
block: …\nAn impl block providing trait or associated items: …\nReturned by Generics::split_for_impl
.\nAn item within an impl block.\nAn associated constant within an impl block.\nAn associated function within an impl block.\nA macro invocation within an impl block.\nAn associated type within an impl block.\nUnused, but reserved for RFC 3323 restrictions.\nAn impl Bound1 + Bound2 + Bound3
type where Bound
is a …\nThe index of an unnamed tuple struct field.\nA square bracketed indexing expression: vector[2]
.\nThe inferred value of a const generic argument, denoted _
.\nIndication that a type should be inferred by the compiler: …\nAn inherited visibility, which usually means private.\nAn integer literal: 1
or 1u16
.\nThings that can appear directly inside of a module or …\nAn item definition.\nA constant item: const MAX: u16 = 65535
.\nAn enum definition: enum Foo<A, B> { A(A), B(B) }
.\nAn extern crate
item: extern crate serde
.\nA free-standing function: …\nA block of foreign items: extern "C" { ... }
.\nAn impl block providing trait or associated items: …\nA macro invocation, which includes macro_rules!
…\nA module or module declaration: mod m
or mod m { ... }
.\nA static item: static BIKE: Shed = Shed(42)
.\nA struct definition: struct Foo<A> { x: A }
.\nA trait definition: pub trait Iterator { ... }
.\nA trait alias: pub trait SharableIterator = Iterator + Sync
…\nA type alias: …\nA union definition: union Foo<A, B> { x: A, y: B }
.\nA use declaration: use std::collections::HashMap
.\nA lifetime labeling a for
, while
, or loop
.\nThe <=
operator (less than or equal to)\nA let
guard: let Some(x) = opt
.\nA Rust lifetime: 'a
.\nA lifetime parameter: 'a: 'b + 'c + 'd
.\nA lifetime parameter in precise capturing bound: …\nA lifetime predicate in a where
clause: 'a: 'b + 'c
.\nA lifetime argument.\nA lifetime definition: 'a: 'b + 'c + 'd
.\nA structured list within an attribute, like …\nA Rust literal such as a string or integer or boolean.\nA literal in place of an expression: 1
, "foo"
.\nA literal pattern: 0
.\nA boolean literal: true
or false
.\nA byte literal: b'f'
.\nA byte string literal: b"foo"
.\nA nul-terminated C-string literal: c"foo"
.\nA character literal: 'a'
.\nA floating point literal: 1f64
or 1.0e10f64
.\nAn integer literal: 1
or 1u16
.\nA UTF-8 string literal: "foo"
.\nA local let
binding: let x: u64 = s.parse()?
.\nA local (let) binding.\nThe expression assigned in a local let
binding, including …\nConditionless loop: loop { ... }
.\nThe <
operator (less than)\nA macro invocation: println!("{}", mac)
.\nA macro invocation expression: format!("{}", q)
.\nA macro invocation, which includes macro_rules!
…\nA macro invocation within an extern block.\nA macro invocation within the definition of a trait.\nA macro invocation within an impl block.\nA macro in pattern position.\nA macro invocation in statement position.\nA macro in the type position.\nA grouping token that surrounds a macro body: m!(...)
or …\nA match
expression: match n { Some(n) => {}, None => {} }
.\nA struct or tuple struct field accessed in a struct …\nContent of a compile-time structured attribute.\nA structured list within an attribute, like …\nA name-value pair within an attribute, like …\nA method call expression: x.foo::<T>(a, b)
.\nA module or module declaration: mod m
or mod m { ... }
.\nThe *
operator (multiplication)\nThe *=
operator\nAn identifier imported by a use
item: HashMap
.\nA name-value pair within an attribute, like …\nNamed fields of a struct or struct variant such as …\nA named field like self.x
.\nThe !=
operator (not equal to)\nThe -
operator for negation\nThe never type: !
.\nThe !
operator for logical inversion\nContains the success value\nThe ||
operator (logical or)\nA pattern that matches any one of a set of cases.\nAn unspecified invalid expression.\nA parenthesized expression: (a + b)
.\nA parenthesized pattern: (A | B)
.\nA parenthesized type equivalent to the inner type.\nThe (A, B) -> C
in Fn(A, B) -> C
.\nArguments of a function path segment: the (A, B) -> C
in …\nA pattern in a local binding, function signature, match …\nA const block: const { ... }
.\nA pattern that binds a new variable: …\nA literal in place of an expression: 1
, "foo"
.\nA macro invocation expression: format!("{}", q)
.\nA pattern that matches any one of a set of cases.\nA parenthesized pattern: (A | B)
.\nA path like std::mem::replace
possibly containing generic …\nA range expression: 1..2
, 1..
, ..2
, 1..=2
, ..=2
.\nA reference pattern: &mut var
.\nThe dots in a tuple or slice pattern: [0, 1, ..]
.\nA dynamically sized slice pattern: [a, b, ref i @ .., y, z]
…\nA struct or struct variant pattern: Variant { x, y, .. }
.\nA tuple pattern: (a, b)
.\nA tuple struct or tuple variant pattern: …\nA type ascription pattern: foo: f64
.\nA pattern that matches any value: _
.\nA path at which a named item is exported (e.g. …\nA path like std::mem::replace
possibly containing generic …\nA path prefix of imports in a use
item: std::...
.\nA path pattern like Color::Red
, optionally qualified with a\nA path like std::slice::Iter
, optionally qualified with a …\nAngle bracketed or parenthesized arguments of a path …\nA segment of a path together with any path arguments on …\nMutability of a raw pointer (*const T
, *mut T
), in which …\nPrecise capturing bound: the ‘use<…>’ in …\nA lifetime predicate in a where
clause: 'a: 'b + 'c
.\nA type predicate in a where
clause: …\nA raw pointer type: *const T
or *mut T
.\nA public visibility level: pub
.\nThe explicit Self type in a qualified path: the T
in …\nA range expression: 1..2
, 1..
, ..2
, 1..=2
, ..=2
.\nA range pattern: 1..=2
.\nLimit types of a range, inclusive or exclusive.\nAddress-of operation: &raw const place
or &raw mut place
.\nThe self
argument of an associated method.\nThe self
argument of an associated method.\nA referencing operation: &a
or &mut a
.\nA reference pattern: &mut var
.\nA reference type: &'a T
or &'a mut T
.\nThe %
operator (modulus)\nThe %=
operator\nAn renamed identifier imported by a use
item: …\nAn array literal constructed from one repeated element: …\nThe dots in a tuple or slice pattern: [0, 1, ..]
.\nA visibility level restricted to some path: pub(self)
or …\nThe result of a Syn parser.\nA return
, with an optional value to be returned.\nReturn type of a function signature.\nThe <<
operator (shift left)\nThe <<=
operator\nThe >>
operator (shift right)\nThe >>=
operator\nA function signature in a trait or implementation: …\nA dynamically sized slice pattern: [a, b, ref i @ .., y, z]
…\nA dynamically sized slice type: [T]
.\nA static item: static BIKE: Shed = Shed(42)
.\nA foreign static item in an extern
block: static ext: u8
.\nThe mutability of an Item::Static
or ForeignItem::Static
.\nA statement, usually ending in a semicolon.\nA macro invocation in statement position.\nA UTF-8 string literal: "foo"
.\nA struct literal expression: Point { x: 1, y: 1 }
.\nA struct definition: struct Foo<A> { x: A }
.\nA struct or struct variant pattern: Variant { x, y, .. }
.\nThe -
operator (subtraction)\nThe -=
operator\nA type-macro that expands to the name of the Rust type …\nA trait definition: pub trait Iterator { ... }
.\nA trait alias: pub trait SharableIterator = Iterator + Sync
…\nA trait used as a bound on a type parameter.\nA modifier on a trait bound, currently only used for the ?
…\nAn item declaration within the definition of a trait.\nAn associated constant within the definition of a trait.\nAn associated function within the definition of a trait.\nA macro invocation within the definition of a trait.\nAn associated type within the definition of a trait.\nA trait object type dyn Bound1 + Bound2 + Bound3
where …\nA try-expression: expr?
.\nA try block: try { ... }
.\nA tuple expression: (a, b, c, d)
.\nA tuple pattern: (a, b)
.\nA tuple type: (A, B, C, String)
.\nA tuple struct or tuple variant pattern: …\nReturned by TypeGenerics::as_turbofish
.\nThe possible types that a Rust value could have.\nA generic type parameter: T: Into<String>
.\nA type predicate in a where
clause: …\nA type alias: …\nA foreign type in an extern
block: type void
.\nAn associated type within the definition of a trait.\nAn associated type within an impl block.\nA type ascription pattern: foo: f64
.\nA type argument.\nA particular type is returned.\nA fixed size array type: [T; n]
.\nA bare function type: fn(usize) -> bool
.\nReturned by Generics::split_for_impl
.\nA type contained within invisible delimiters.\nAn impl Bound1 + Bound2 + Bound3
type where Bound
is a …\nIndication that a type should be inferred by the compiler: …\nA macro in the type position.\nThe never type: !
.\nA generic type parameter: T: Into<String>
.\nA trait or lifetime used as a bound on a type parameter.\nA parenthesized type equivalent to the inner type.\nA path like std::slice::Iter
, optionally qualified with a …\nA raw pointer type: *const T
or *mut T
.\nA reference type: &'a T
or &'a mut T
.\nA dynamically sized slice type: [T]
.\nA trait object type dyn Bound1 + Bound2 + Bound3
where …\nA tuple type: (A, B, C, String)
.\nA function argument accepted by pattern and type.\nA unary operator: *
, !
, -
.\nA unary operation: !x
, *x
.\nA union definition: union Foo<A, B> { x: A, y: B }
.\nUnit struct or unit variant such as None
.\nUnnamed fields of a tuple struct or tuple variant such as …\nAn unnamed field like self.0
.\nAn unsafe block: unsafe { ... }
.\nA use declaration: use std::collections::HashMap
.\nA glob import in a use
item: *
.\nA braced group of imports in a use
item: {A, B, C}
.\nAn identifier imported by a use
item: HashMap
.\nA path prefix of imports in a use
item: std::...
.\nAn renamed identifier imported by a use
item: …\nA suffix of an import tree in a use
item: Type as Renamed
…\nThe variadic argument of a foreign function.\nAn enum variant.\nTokens in expression position not interpreted by Syn.\nTokens forming an item not interpreted by Syn.\nTokens in an extern
block not interpreted by Syn.\nTokens within the definition of a trait not interpreted by …\nTokens within an impl block not interpreted by Syn.\nA raw token literal not interpreted by Syn.\nTokens in pattern position not interpreted by Syn.\nTokens in type position not interpreted by Syn.\nA visibility level restricted to some path: pub(self)
or …\nThe visibility level of an item: inherited or pub
or …\nA where
clause in a definition: …\nA single predicate in a where
clause: T: Deserialize<'de>
.\nA while loop: while expr { ... }
.\nA pattern that matches any value: _
.\nA yield expression: yield expr
.\nTurn a type’s generics like <X, Y>
into a turbofish like …\nParses the literal into a selected number type.\nThe type being bounded\nTrait and lifetime bounds (Clone+Send+'static
)\nParse a set of curly braces and expose their content to …\nParse a set of square brackets and expose their content to …\nA stably addressed token buffer supporting efficient …\nThe colon in Struct { x: x }
. If written in shorthand like …\nIterator over the constant parameters in self.params
.\nIterator over the constant parameters in self.params
.\nDefine a type that supports parsing and printing a given …\nDefine a type that supports parsing and printing a …\nExplicit discriminant: Variant = 1
\nExtension traits to provide parsing methods on foreign …\nContent stored in the variant.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nIf this path consists of a single ident, returns the ident.\nName of the variant.\nName of the field, if any.\nThe example
in macro_rules! example { ... }
.\n(A, B)
\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nReturns true
if there are zero fields.\nDetermines whether this is a path of length 1 equal to the …\nGet an iterator over the borrowed Field
items in this …\nGet an iterator over the mutably borrowed Field
items in …\nReturns the number of fields.\nIterator over the lifetime parameters in self.params
.\nThe for<'a>
in for<'a> Foo<&'a T>
\nAny lifetimes from a for
binding\nIterator over the lifetime parameters in self.params
.\nInitializes an empty where
-clause if there is not one …\nGet an iterator over the fields of a struct or variant as …\nFacility for interpreting structured content inside of an …\nCreates a new Ident
with the given string
as well as the …\nPanics\nInterpret a Syn literal from a proc-macro2 literal.\nSame as Ident::new
, but creates a raw identifier (r#ident
…\nC
\nParse a set of parentheses and expose their content to …\nParsing interface for parsing a token stream into a syntax …\nParse tokens of source code into the chosen syntax tree …\nParse a syntax tree node from the content of this string …\nParse a proc-macro2 token stream into the chosen syntax …\nParse the arguments to the attribute as a syntax tree.\nSee Attribute::parse_args
.\nParse the arguments to the attribute using the given …\nSee Attribute::parse_args_with
.\nParse the tokens within the macro invocation’s …\nParse the tokens within the macro invocation’s …\nParse the content of a file of Rust code.\nParses zero or more inner attributes from the stream.\nParse the input TokenStream of a macro, triggering a …\nParse a Path
containing no path arguments on any of its …\nParse a pattern, possibly involving |
, but not a leading |
.\nParse a pattern, possibly involving |
, possibly including a\nParses a named (braced struct) field.\nParse the arguments to the attribute, expecting it to …\nSee Attribute::parse_nested_meta
.\nParses zero or more outer attributes from the stream.\nQuasi-quotation macro that accepts input like the quote!
…\nThis macro is parse_quote!
+ quote_spanned!
.\nParse a pattern that does not involve |
at the top level.\nParse a string of Rust code into the chosen syntax tree …\nParse ::<…>
with mandatory leading ::
.\nParses an unnamed (tuple struct) field.\nInvoke parser on the content of this string literal.\nAn alternative to the primary Expr::parse
parser (from the …\nParse the body of a block as zero or more statements, …\nAn alternative to the primary Expr::parse
parser (from the …\nReturns the path that identifies the interpretation of …\nReturns the path that begins this structured meta item.\nThe Foo<&'a T>
in for<'a> Foo<&'a T>
\nA punctuated sequence of syntax tree nodes separated by …\nA method’s self
receiver, such as &self
or …\nAn error if this path is not a single ident, as defined in …\nError if this is a Meta::Path
or Meta::NameValue
.\nError if this is a Meta::Path
or Meta::List
.\nError if this is a Meta::List
or Meta::NameValue
.\nThe Self type of the impl.\nConfigures the span of this Ident
, possibly changing its …\nReturns the span of this Ident
.\nA trait that can provide the Span
of the complete contents …\nSplit a type’s generics into the pieces required for impl…\nStatements in a block\nTokens representing Rust punctuation, keywords, and …\nTrait this impl implements.\nIterator over the type parameters in self.params
.\nIterator over the type parameters in self.params
.\nIn some positions, types may not contain the +
character, …\nA cheaply copyable cursor into a TokenBuffer
.\nA buffer that can be efficiently traversed multiple times, …\nCreates a cursor referencing the first token in the buffer …\nCreates a cursor referencing a static empty TokenStream.\nChecks whether the cursor is currently pointing at the end …\nReturns the argument unchanged.\nReturns the argument unchanged.\nIf the cursor is pointing at a Group
with the given …\nIf the cursor is pointing at a Ident
, returns it along …\nCalls U::from(self)
.\nCalls U::from(self)
.\nIf the cursor is pointing at a Lifetime
, returns it along …\nIf the cursor is pointing at a Literal
, return it along …\nCreates a TokenBuffer
containing all the tokens from the …\nCreates a TokenBuffer
containing all the tokens from the …\nIf the cursor is pointing at a Punct
, returns it along …\nReturns the Span
of the current token, or Span::call_site()
…\nCopies all remaining tokens visible from this cursor into a\nIf the cursor is pointing at a TokenTree
, returns it along …\nAdditional methods for Ident
not provided by proc-macro2 …\nParses any identifier including keywords.\nPeeks any identifier including keywords. Usage: …\nStrips the raw marker r#
, if any, from the beginning of an …\nContext for parsing a single property in the conventional …\nReport that the attribute’s content did not conform to …\nReturns the argument unchanged.\nCalls U::from(self)
.\nUsed when parsing list(...)
syntax if the content inside …\nMake a parser that is usable with parse_macro_input!
in a …\nUsed when parsing key = "value"
syntax.\nContains the error value\nError returned when a Syn parser cannot parse the input …\nSupport for checking the next token in a stream to decide …\nAn empty syntax tree node that consumes no tokens when …\nContains the success value\nParsing interface implemented by all types that can be …\nCursor position within a buffered token stream.\nInput to a Syn parser function.\nParser that can parse Rust tokens into a particular syntax …\nTypes that can be parsed by looking at just one token.\nThe result of a Syn parser.\nCursor state associated with speculative parsing.\nCalls the given parser function to parse a syntax tree …\nAdd another error message to self such that when …\nProvides low-level access to the token representation …\nExtensions to the parsing API with niche applicability.\nTriggers an error at the current position of the parse …\nTriggers an error at the current position of the parse …\nTriggers an error at the current position of the parse …\nForks a parse stream so that parsing tokens out of either …\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nRender the error as an invocation of compile_error!
.\nReturns whether there are no more tokens remaining to be …\nConstructs a helper for peeking at the next token in this …\nUsually the ParseStream::error
method will be used …\nCreates an error with the specified message spanning the …\nParses a syntax tree node of type T
, advancing the …\nParse tokens of source code into the chosen syntax tree …\nParse a proc-macro2 token stream into the chosen syntax …\nParse a string of Rust code into the chosen syntax tree …\nParses zero or more occurrences of T
separated by …\nLooks at the next token in the parse stream to determine …\nLooks at the next token in the parse stream to determine …\nLooks at the second-next token in the parse stream.\nLooks at the third-next token in the parse stream.\nThe source location of the error.\nReturns the Span
of the next token in the parse stream, or …\nSpeculatively parses tokens from this parse stream, …\nRender the error as an invocation of compile_error!
.\nExtensions to the ParseStream
API to support manipulating …\nExtensions to the ParseStream
API to support speculative …\nAdvance this parse stream to the position of a forked …\nReturns the delimiter, the span of the delimiter token, …\nAn iterator over owned values of type T
.\nAn iterator over owned pairs of type Pair<T, P>
.\nAn iterator over borrowed values of type &T
.\nAn iterator over mutably borrowed values of type &mut T
.\nA single syntax tree node of type T
followed by its …\nAn iterator over borrowed pairs of type Pair<&T, &P>
.\nAn iterator over mutably borrowed pairs of type …\nA punctuated sequence of syntax tree nodes of type T
…\nClears the sequence of all values and punctuation, making …\nReturns true if either this Punctuated
is empty, or it has …\nBorrows the first element in this sequence.\nMutably borrows the first element in this sequence.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nBorrows the element at the given index.\nMutably borrows the element at the given index.\nInserts an element at position index
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nReturns an iterator over the contents of this sequence as …\nProduces this punctuated pair as a tuple of syntax tree …\nExtracts the syntax tree node from this punctuated pair, …\nDetermines whether this punctuated sequence is empty, …\nReturns an iterator over borrowed syntax tree nodes of …\nReturns an iterator over mutably borrowed syntax tree …\nBorrows the last element in this sequence.\nMutably borrows the last element in this sequence.\nReturns the number of syntax tree nodes in this punctuated …\nCreates an empty punctuated sequence.\nCreates a punctuated pair out of a syntax tree node and an …\nReturns an iterator over the contents of this sequence as …\nReturns an iterator over the contents of this sequence as …\nParses one or more occurrences of T
separated by …\nParses one or more occurrences of T
using the given parse …\nParses zero or more occurrences of T
separated by …\nParses zero or more occurrences of T
using the given parse …\nRemoves the last punctuated pair from this sequence, or …\nRemoves the trailing punctuation from this punctuated …\nBorrows the punctuation from this punctuated pair, unless …\nMutably borrows the punctuation from this punctuated pair, …\nAppends a syntax tree node onto the end of this punctuated …\nAppends a trailing punctuation onto the end of this …\nAppends a syntax tree node onto the end of this punctuated …\nDetermines whether this punctuated sequence ends with a …\nBorrows the syntax tree node from this punctuated pair.\nMutably borrows the syntax tree node from this punctuated …\nA trait that can provide the Span
of the complete contents …\nReturns a Span
covering the complete contents of this …\nabstract
\n&
\n&&
\n&=
\nas
\nasync
\n@
\nauto
\nawait
\nbecome
\nbox
\n{
…}
\n[
…]
\nbreak
\n^
\n^=
\n:
\n,
\nconst
\ncontinue
\ncrate
\ndefault
\ndo
\n$
\n.
\n..
\n...
\n..=
\ndyn
\nelse
\nenum
\n=
\n==
\nextern
\n=>
\nfinal
\nfn
\nfor
\n>=
\nNone-delimited group\n>
\nif
\nimpl
\nin
\n<-
\n<=
\nlet
\nloop
\n<
\nmacro
\nmatch
\n-
\n-=
\nmod
\nmove
\nmut
\n!=
\n!
\n|
\n|=
\n||
\noverride
\n(
…)
\n::
\n%
\n%=
\n+
\n+=
\n#
\npriv
\npub
\n?
\n->
\nraw
\nref
\nreturn
\nSelf
\nself
\n;
\n<<
\n<<=
\n>>
\n>>=
\n/
\n/=
\n*
\n*=
\nstatic
\nstruct
\nsuper
\n~
\nMarker trait for types that represent single tokens.\ntrait
\ntry
\ntype
\ntypeof
\n_
\nunion
\nunsafe
\nunsized
\nuse
\nvirtual
\nwhere
\nwhile
\nyield
\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.")