Struct cursive::utils::Span [] [src]

pub struct Span {
    pub length: usize,
    pub width: usize,
}

The length and width of a part of a string.

Fields

The length (in bytes) of the string.

The unicode-width of the string.