Docs.rs
choice-string-0.0.1
choice-string 0.0.1
Permalink
Docs.rs crate page
MIT
OR
Apache-2.0
Links
Repository
crates.io
Source
Owners
CerulanLumina
Dependencies
nom ^7
normal
range_union_find ^0.4.4
normal
thiserror ^1
normal
Versions
69.23%
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
choice_
string
0.0.1
All Items
Crate Items
Enums
Functions
Crate
choice_string
Copy item path
Source
Enums
§
Error
Error type for errors that may arise during the parsing of choice-strings. Very simple at the moment, only wrapping a nom
ErrorKind
Selection
A parsed selection. Can represent all, none, or some set of ranges and items.
Some
Element
Type
A selected element. Can either be an individual item, or a range of items.
Functions
§
parse
Parse a choice string input to a
Selection
. Additionally reduces the set of ranges to the minimum representable by using a union operation. Wrapper for
str::parse
.
parse_
raw
Parses a choice string to a
Selection
. This does not do any de-duplicating or condensing of parsed ranges.