pub struct difficulty {
pub span: Span,
}
Fields§
§span: Span
Trait Implementations§
Source§impl Clone for difficulty
impl Clone for difficulty
Source§impl Debug for difficulty
impl Debug for difficulty
Source§impl Default for difficulty
impl Default for difficulty
Source§impl Hash for difficulty
impl Hash for difficulty
Source§impl Parse for difficulty
impl Parse for difficulty
fn parse(input: ParseStream<'_>) -> Result<difficulty>
Source§impl PartialEq for difficulty
impl PartialEq for difficulty
Source§impl Spanned for difficulty
impl Spanned for difficulty
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.Source§impl ToTokens for difficulty
impl ToTokens for difficulty
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 difficulty
impl Eq for difficulty
Auto Trait Implementations§
impl Freeze for difficulty
impl RefUnwindSafe for difficulty
impl !Send for difficulty
impl !Sync for difficulty
impl Unpin for difficulty
impl UnwindSafe for difficulty
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 Twhere
T: Spanned + ?Sized,
impl<T> Spanned for Twhere
T: Spanned + ?Sized,
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.