method Path.toString
The path as text.
Example:
use std.io { Path }
fn main() io {
print(Path.of("/etc/hosts").toString())
}Вывод
/etc/hosts
pub(api) fn toString() -> strС версии. 1.0.0-beta
Возвращает
str
Эффекты
не объявлены (чистая, пока тело не говорит иное)
Определено в: std/io/io.oxl:1061