Docs.rs
sightline-ruff-python-ast-0.1.0
sightline-ruff-python-ast 0.1.0
Permalink
Docs.rs crate page
MIT
02 September 2026
Links
Homepage
Repository
crates.io
Source
Owners
Skyway1111
Dependencies
aho-corasick ^1.1.3
normal
arrayvec ^0.7.6
normal
bitflags ^2.5.0
normal
char_str ^0.0.2
normal
compact_str ^0.10.0
normal
get-size2 ^0.10.3
normal
optional
is-macro ^0.3.5
normal
memchr ^2.7.1
normal
sightline-ruff-cache ^0.1.0
normal
optional
sightline-ruff-macros ^0.1.0
normal
optional
sightline-ruff-python-trivia ^0.1.0
normal
sightline-ruff-source-file ^0.1.0
normal
sightline-ruff-text-size ^0.1.0
normal
rustc-hash ^2.0.0
normal
salsa ^0.28.2
normal
optional
schemars ^1.0.4
normal
optional
serde ^1.0.197
normal
optional
serde_json ^1.0.113
normal
optional
thin-vec ^0.2.14
normal
thiserror ^2.0.0
normal
Versions
26.24%
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 str
ruff_
python_
ast
0.1.0
Module str
Module Items
Enums
Functions
In crate ruff_
python_
ast
ruff_python_ast
Module
str
Copy item path
Source
Enums
§
Quote
Enumeration of the two kinds of quotes that can be used for Python string/f/t-string/bytestring literals
Triple
Quotes
Functions
§
is_
triple_
quote
Return
true
if the string is a triple-quote string or byte prefix.
leading_
quote
Return the leading quote for a string, template, or bytes literal (e.g.,
"""
).
raw_
contents
Strip the leading and trailing quotes from a string. Assumes that the string is a valid string literal, but does not verify that the string is a “simple” string literal (i.e., that it does not contain any implicit concatenations).
trailing_
quote
Return the trailing quote string for a string, template, or bytes literal (e.g.,
"""
).