pub trait IStrOpeMethods: IStrOpe {
Show 17 methods
// Provided methods
fn ctor(self, capacity: impl Into<i32>) { ... }
fn set_capacity(self, value: impl Into<i32>) { ... }
fn get_capacity(self) -> i32 { ... }
fn set_length(self, value: impl Into<i32>) { ... }
fn get_length(self) -> i32 { ... }
fn remove(
self,
start_index: impl Into<i32>,
length: impl Into<i32>,
) -> StrOpe { ... }
fn replace(
self,
old_value: impl Into<Il2CppString>,
new_value: impl Into<Il2CppString>,
) -> StrOpe { ... }
fn sub_string(
self,
start_index: impl Into<i32>,
length: impl Into<i32>,
) -> StrOpe { ... }
fn append(
self,
str: impl Into<Il2CppString>,
length: impl Into<i32>,
) -> StrOpe { ... }
fn to_string(self) -> Il2CppString { ... }
fn clear(self) { ... }
fn to_lower(self) -> StrOpe { ... }
fn to_upper(self) -> StrOpe { ... }
fn trim(self) -> StrOpe { ... }
fn trim_start(self) -> StrOpe { ... }
fn trim_end(self) -> StrOpe { ... }
fn to_chars(self) -> Array<u16> { ... }
}Provided Methods§
Sourcefn set_capacity(self, value: impl Into<i32>)
fn set_capacity(self, value: impl Into<i32>)
set_Capacity(i32) overload
Sourcefn get_capacity(self) -> i32
fn get_capacity(self) -> i32
get_Capacity() overload
Sourcefn set_length(self, value: impl Into<i32>)
fn set_length(self, value: impl Into<i32>)
set_Length(i32) overload
Sourcefn get_length(self) -> i32
fn get_length(self) -> i32
get_Length() overload
Sourcefn remove(self, start_index: impl Into<i32>, length: impl Into<i32>) -> StrOpe
fn remove(self, start_index: impl Into<i32>, length: impl Into<i32>) -> StrOpe
Remove(i32, i32) overload
Sourcefn replace(
self,
old_value: impl Into<Il2CppString>,
new_value: impl Into<Il2CppString>,
) -> StrOpe
fn replace( self, old_value: impl Into<Il2CppString>, new_value: impl Into<Il2CppString>, ) -> StrOpe
Replace(::unity::Il2CppString, ::unity::Il2CppString) overload
Sourcefn sub_string(
self,
start_index: impl Into<i32>,
length: impl Into<i32>,
) -> StrOpe
fn sub_string( self, start_index: impl Into<i32>, length: impl Into<i32>, ) -> StrOpe
SubString(i32, i32) overload
Sourcefn append(self, str: impl Into<Il2CppString>, length: impl Into<i32>) -> StrOpe
fn append(self, str: impl Into<Il2CppString>, length: impl Into<i32>) -> StrOpe
Append(::unity::Il2CppString, i32) overload
Sourcefn to_string(self) -> Il2CppString
fn to_string(self) -> Il2CppString
ToString() overload
Sourcefn trim_start(self) -> StrOpe
fn trim_start(self) -> StrOpe
TrimStart() overload
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.
Implementors§
impl<__T: IStrOpe> IStrOpeMethods for __T
Available on crate feature
root-strope only.