Docs.rs
  • syn-helpers-0.4.1
    • syn-helpers 0.4.1
    • Docs.rs crate page
    • MIT
    • Links
    • Repository
    • crates.io
    • Source
    • Owners
    • kaleidawave
    • Dependencies
      • either_n ^0.2.0 normal
      • proc-macro2 ^1.0 normal
      • quote ^1.0.10 normal
      • syn ^1.0.81 normal
    • Versions
    • 10.2% 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
logo

logo

HasAttributes

Required Methods

  • get_attributes

Implementors

In syn_helpers

?
Change settings

Trait syn_helpers::HasAttributes

source ·
pub trait HasAttributes {
    fn get_attributes(&self) -> &[Attribute];
}

Required Methods§

source

fn get_attributes(&self) -> &[Attribute]

Implementors§

source§

impl HasAttributes for NamedOrUnnamedField<'_>

source§

impl HasAttributes for NamedOrUnnamedFieldMut<'_>

source§

impl HasAttributes for EnumStructure

source§

impl HasAttributes for NamedField

source§

impl HasAttributes for UnnamedField