Document / lockdown more of GPUI

This commit is contained in:
Mikayla 2024-01-21 14:26:45 -08:00
parent 476de329b3
commit aa57a4cfbc
No known key found for this signature in database
27 changed files with 399 additions and 75 deletions

View file

@ -24,6 +24,7 @@ pub struct ShapedLine {
}
impl ShapedLine {
/// The length of the line in utf-8 bytes.
pub fn len(&self) -> usize {
self.layout.len
}