diff options
Diffstat (limited to 'crates/shirabe-external-packages/src/symfony/string/unicode_string.rs')
| -rw-r--r-- | crates/shirabe-external-packages/src/symfony/string/unicode_string.rs | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/crates/shirabe-external-packages/src/symfony/string/unicode_string.rs b/crates/shirabe-external-packages/src/symfony/string/unicode_string.rs new file mode 100644 index 0000000..18b1d49 --- /dev/null +++ b/crates/shirabe-external-packages/src/symfony/string/unicode_string.rs @@ -0,0 +1,22 @@ +#[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!() + } +} |
