imstr 0.2.0

Cheaply clonable and slicable immutable strings
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use std::sync::Arc;
use std::ops::Range;

pub struct OsString {
    string: Arc<OsString>,
    offset: Range<usize>,
}

pub trait AnyOsString {
}

impl AnyOsString for OsString {}