Docs.rs
  • ra_ap_syntax-0.0.246
    • ra_ap_syntax 0.0.246
    • Docs.rs crate page
    • MIT OR Apache-2.0
    • Links
    • Repository
    • crates.io
    • Source
    • Owners
    • rust-lang-owner
    • github:rust-lang:wg-rls-2
    • Dependencies
      • cov-mark ^2.0.0-pre.1 normal
      • either ^1.9.0 normal
      • indexmap ^2.1.0 normal
      • itertools ^0.12.0 normal
      • ra_ap_parser =0.0.246 normal
      • ra-ap-rustc_lexer ^0.76 normal
      • rowan =0.15.15 normal
      • rustc-hash ^2.0.0 normal
      • smol_str ^0.3.2 normal
      • ra_ap_stdx =0.0.246 normal
      • tracing ^0.1.40 normal
      • triomphe ^0.1.10 normal
      • expect-test ^1.4.0 dev
      • rayon ^1.8.0 dev
      • rustc_apfloat ^0.2.0 dev
    • Versions
    • 8.97% of the crate is documented
  • Go to latest version
  • Platform
    • i686-pc-windows-msvc
    • i686-unknown-linux-gnu
    • x86_64-apple-darwin
    • x86_64-pc-windows-msvc
    • x86_64-unknown-linux-gnu
  • Feature flags
  • docs.rs
    • About docs.rs
    • Badges
    • Builds
    • Metadata
    • Shorthand URLs
    • Download
    • Rustdoc JSON
    • Build queue
    • Privacy policy
  • Rust
    • Rust website
    • The Book
    • Standard Library API Reference
    • Rust by Example
    • The Cargo Guide
    • Clippy Documentation

ra_ap_syntax0.0.246

HasGenericParams

Provided Methods

  • generic_param_list
  • where_clause

Implementors

In ra_ap_syntax::ast

ra_ap_syntax::ast

Trait HasGenericParams

Source
pub trait HasGenericParams: AstNode {
    // Provided methods
    fn generic_param_list(&self) -> Option<GenericParamList> { ... }
    fn where_clause(&self) -> Option<WhereClause> { ... }
}

Provided Methods§

Source

fn generic_param_list(&self) -> Option<GenericParamList>

Source

fn where_clause(&self) -> Option<WhereClause>

Implementors§

Source§

impl HasGenericParams for Adt

Source§

impl HasGenericParams for AnyHasGenericParams

Source§

impl HasGenericParams for Enum

Source§

impl HasGenericParams for Fn

Source§

impl HasGenericParams for Impl

Source§

impl HasGenericParams for Struct

Source§

impl HasGenericParams for Trait

Source§

impl HasGenericParams for TraitAlias

Source§

impl HasGenericParams for TypeAlias

Source§

impl HasGenericParams for Union