Docs.rs
workspacer-syntax-0.4.0
workspacer-syntax 0.4.0
Docs.rs crate page
MIT
OR
Apache-2.0
Links
Repository
crates.io
Source
Owners
klebs6
Dependencies
workspacer-3p ^0.4.0
normal
Versions
66.67%
of the crate is documented
Go to latest version
Platform
i686-unknown-linux-gnu
x86_64-apple-darwin
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
workspacer_
syntax
0.4.0
All Items
Crate Items
Traits
Functions
Crate
workspacer_syntax
Copy item path
Source
Traits
§
Generate
Signature
A trait to generate a “signature” string (or declaration line) for different AST nodes like
Fn
,
Struct
,
Enum
, etc.
Functions
§
extract_
docs
Extracts doc lines from
///
or
/** ... */
. We do NOT gather
#[doc="..."]
attributes here. Those can be handled separately by gather_doc_attrs if you want to unify them.
is_
node_
public
post_
process_
spacing
Minimal post-processing for spacing around
->
and
where
. For example, it ensures
) ->
has a space, and
> where
has a space.