pub struct expected_count {
pub span: Span,
}
Fields§
§span: Span
Trait Implementations§
Source§impl Clone for expected_count
impl Clone for expected_count
Source§impl Debug for expected_count
impl Debug for expected_count
Source§impl Default for expected_count
impl Default for expected_count
Source§impl Hash for expected_count
impl Hash for expected_count
Source§impl Parse for expected_count
impl Parse for expected_count
fn parse(input: ParseStream<'_>) -> Result<expected_count>
Source§impl PartialEq for expected_count
impl PartialEq for expected_count
Source§impl ToTokens for expected_count
impl ToTokens for expected_count
Source§fn to_tokens(&self, tokens: &mut TokenStream2)
fn to_tokens(&self, tokens: &mut TokenStream2)
Source§fn to_token_stream(&self) -> TokenStream
fn to_token_stream(&self) -> TokenStream
Source§fn into_token_stream(self) -> TokenStreamwhere
Self: Sized,
fn into_token_stream(self) -> TokenStreamwhere
Self: Sized,
impl Copy for expected_count
impl Eq for expected_count
Auto Trait Implementations§
impl Freeze for expected_count
impl RefUnwindSafe for expected_count
impl !Send for expected_count
impl !Sync for expected_count
impl Unpin for expected_count
impl UnwindSafe for expected_count
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<T> Spanned for T
impl<T> Spanned for T
Source§fn span(&self) -> Span
fn span(&self) -> Span
Returns a
Span
covering the complete contents of this syntax tree
node, or Span::call_site()
if this node is empty.