Method lrs::string::NoNullStr::dir

Returns a NoNullStr that consists of the segment before the last '/'.

Syntax

impl NoNullStr {
    fn dir(&self) -> &NoNullStr
}