Docs.rs
xutf-0.1.0
xutf 0.1.0
Docs.rs crate page
MIT
08 August 2026
Links
Repository
crates.io
Source
Owners
can1357
Dependencies
divan ^0.1
dev
encoding_rs ^0.8.35
dev
rayon ^1.10
dev
simdutf ^0.7.0
dev
textwrap ^0.16
dev
unicode-segmentation ^1.13
dev
unicode-width ^0.2
dev
Versions
95.71%
of the crate is documented
Go to latest version
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
truncate_str
xutf
0.1.0
xutf
Function
truncate_
str
Copy item path
Source
pub fn truncate_str(input: &
str
, max_width:
usize
) -> &
str
Expand description
truncate
over UTF-8
str
.