Docs.rs
escapist-0.0.2
escapist 0.0.2
Permalink
Docs.rs crate page
MIT
Links
Repository
crates.io
Source
Owners
gjtorikian
Dependencies
entities ^1.0.1
normal
Versions
33.33%
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
escapist
0.0.2
All Items
Crate Items
Structs
Constants
Traits
Functions
Crate
escapist
Copy item path
Source
Structs
§
Write
Wrapper
This wrapper exists because we can’t have both a blanket implementation for all types implementing
Write
and types of the for
&mut W
where
W: StrWrite
. Since we need the latter a lot, we choose to wrap
Write
types.
Constants
§
ENTITY_
MAX_
LENGTH
ENTITY_
MIN_
LENGTH
Traits
§
StrWrite
Trait that allows writing string slices. This is basically an extension of
std::io::Write
in order to include
String
.
Functions
§
escape_
href
Writes an href to the buffer, escaping href unsafe bytes.
escape_
html
Writes the given string to the Write sink, replacing special HTML bytes (<, >, &, “) by escape sequences.
isdigit
unescape
unescape_
html