aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe-external-packages/src/symfony/string/unicode_string.rs
blob: 396dcf34b5192b7cf2447d917712f70797e11f7f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
//! ref: composer/vendor/symfony/string/UnicodeString.php

#[derive(Debug, Clone)]
pub struct UnicodeString {
    pub(crate) string: String,
}

impl UnicodeString {
    pub fn new(_string: &str) -> Self {
        todo!()
    }

    pub fn width(&self, _ignore_unsupported_encoding: bool) -> i64 {
        todo!()
    }

    pub fn length(&self) -> i64 {
        todo!()
    }

    pub fn slice(&self, _start: i64, _length: Option<i64>) -> Self {
        todo!()
    }
}