diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-06-12 01:01:35 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-06-12 01:01:43 +0900 |
| commit | 1e44f5723e4c0e0903d00a61f254901e612fe5e1 (patch) | |
| tree | 9c2e1eec364bbf6418a4072ee7767b04c3df0297 /crates/shirabe-external-packages/src/symfony/string/unicode_string.rs | |
| parent | ddf0a624145b618c05c2ee47414545b99b685f37 (diff) | |
| download | php-shirabe-1e44f5723e4c0e0903d00a61f254901e612fe5e1.tar.gz php-shirabe-1e44f5723e4c0e0903d00a61f254901e612fe5e1.tar.zst php-shirabe-1e44f5723e4c0e0903d00a61f254901e612fe5e1.zip | |
feat(symfony-console): port Symfony Console and make the workspace compile
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
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!() + } +} |
