Docs.rs
  • ra_ap_syntax-0.0.199
    • ra_ap_syntax 0.0.199
    • 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
      • once_cell ^1.17.0 normal
      • ra_ap_parser =0.0.199 normal
      • ra_ap_profile =0.0.199 normal
      • ra-ap-rustc_lexer ^0.33.0 normal
      • rowan ^0.15.15 normal
      • rustc-hash ^1.1.0 normal
      • smol_str ^0.2.1 normal
      • ra_ap_stdx =0.0.199 normal
      • ra_ap_text_edit =0.0.199 normal
      • triomphe ^0.1.10 normal
      • expect-test ^1.4.0 dev
      • proc-macro2 ^1.0.47 dev
      • quote ^1.0.20 dev
      • rayon ^1.8.0 dev
      • ungrammar ^1.16.1 dev
    • Versions
    • 11.24% 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.199

HasGenericParams

Provided Methods

  • generic_param_list
  • where_clause

Implementors

In ra_ap_syntax::ast

?
Change settings

Trait ra_ap_syntax::ast::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