⚠️ VeridianOS Kernel Documentation
- This is low-level kernel code. All functions are unsafe unless explicitly marked otherwise.
no_std
string_width
veridian_
kernel
0.25.2
In veridian_
kernel::
desktop::
desktop_
ext::
cjk
veridian_kernel
::
desktop
::
desktop_ext
::
cjk
Function
string_
width
Copy item path
Source
pub fn string_width(s: &str) -> usize
Expand description
Calculate the display width of a string in terminal cells.