Docs.rs
query-range-0.1.0
query-range 0.1.0
Permalink
Docs.rs crate page
GPL-2.0-or-later
Links
Homepage
Repository
crates.io
Source
Owners
reuschj
Dependencies
num ^0.2.0
normal
Versions
94.74%
of the crate is documented
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
Module utility
query_
range
0.1.0
Module utility
Module Items
Enums
Functions
In crate query_
range
query_range
Module
utility
Copy item path
Source
Enums
§
Shift
Enum to specify the direction of a shift, up or down with amount (magnitude).
Functions
§
get_
range
Gets first range of given query in given content.
is_
within
Checks if a closed range exists in given string content.
shift_
range
Creates a new range with the start and end values shifted by the given amount.
shift_
range_
in_
content
Creates a new range with the start and end values shifted by the given amount
and
checks that the range is valid in the given content. If new range falls outside of the given content,
None
will be returned.
to_
title_
case
Converts a string to title case (first letter capitalized and all the rest lower-case).