Struct cursive::utils::Prefix [] [src]

pub struct Prefix {
    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.