Docs.rs
BREP_render-0.33.0
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
text_width
brep_
render
0.33.0
In brep_
render::
sheets::
pdf
brep_render
::
sheets
::
pdf
Function
text_
width
Copy item path
Source
pub fn text_width(text: &
str
) ->
f64
Expand description
A string’s advance in ems, from Helvetica’s own metrics.