Docs.rs
padlock-source-0.10.0
padlock-source 0.10.0
Docs.rs crate page
MIT
OR
Apache-2.0
Links
Repository
crates.io
Source
Owners
gidotencate
Dependencies
anyhow ^1
normal
padlock-core ^0.10.0
normal
proc-macro2 ^1
normal
quote ^1
normal
similar ^2
normal
syn ^2
normal
tree-sitter ^0.23
normal
tree-sitter-c ^0.23
normal
tree-sitter-cpp ^0.23
normal
tree-sitter-go ^0.23
normal
tree-sitter-zig ^1.1
normal
padlock-core ^0.10.0
dev
Versions
63.93%
of the crate is documented
Platform
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
Skip to main content
Module suppress
padlock_
source
0.10.0
Module suppress
Module Items
Functions
In padlock_
source::
frontends
padlock_source
::
frontends
Module
suppress
Copy item path
Source
Functions
ยง
extract_
suppressed_
kinds
Parse
padlock: ignore[Kind1, Kind2]
from a single comment line. The input may be a whole line (including leading
//
or
/*
) or just the content of a doc attribute string (Rust
#[doc = "..."]
).
suppressed_
from_
preceding_
source
Scan the source text
before
node_start_byte
for suppression directives.
suppressed_
from_
source_
line
Variant for parsers (like the Rust
syn
frontend) that know the 1-indexed line number of the struct rather than its byte offset.