Docs.rs
editor-core-0.1.1
editor-core 0.1.1
Docs.rs crate page
MIT
OR
Apache-2.0
Links
Homepage
Repository
crates.io
Source
Owners
windoze
Dependencies
regex ^1.11
normal
ropey ^1.6
normal
unicode-segmentation ^1.12
normal
unicode-width ^0.2
normal
rand ^0.8
dev
Versions
100%
of the crate is documented
Platform
aarch64-apple-darwin
aarch64-unknown-linux-gnu
i686-pc-windows-msvc
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
Skip to main content
str_width
editor_
core
0.1.1
In editor_
core::
layout
editor_core
::
layout
Function
str_
width
Copy item path
Source
pub fn str_width(s: &
str
) ->
usize
Expand description
Calculate total visual width of a string