Skip to main content

IStrOpeMethods

Trait IStrOpeMethods 

Source
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§

Source

fn ctor(self, capacity: impl Into<i32>)

.ctor(i32) overload

Source

fn set_capacity(self, value: impl Into<i32>)

set_Capacity(i32) overload

Source

fn get_capacity(self) -> i32

get_Capacity() overload

Source

fn set_length(self, value: impl Into<i32>)

set_Length(i32) overload

Source

fn get_length(self) -> i32

get_Length() overload

Source

fn remove(self, start_index: impl Into<i32>, length: impl Into<i32>) -> StrOpe

Remove(i32, i32) overload

Source

fn replace( self, old_value: impl Into<Il2CppString>, new_value: impl Into<Il2CppString>, ) -> StrOpe

Replace(::unity::Il2CppString, ::unity::Il2CppString) overload

Source

fn sub_string( self, start_index: impl Into<i32>, length: impl Into<i32>, ) -> StrOpe

SubString(i32, i32) overload

Source

fn append(self, str: impl Into<Il2CppString>, length: impl Into<i32>) -> StrOpe

Append(::unity::Il2CppString, i32) overload

Source

fn to_string(self) -> Il2CppString

ToString() overload

Source

fn clear(self)

Clear() overload

Source

fn to_lower(self) -> StrOpe

ToLower() overload

Source

fn to_upper(self) -> StrOpe

ToUpper() overload

Source

fn trim(self) -> StrOpe

Trim() overload

Source

fn trim_start(self) -> StrOpe

TrimStart() overload

Source

fn trim_end(self) -> StrOpe

TrimEnd() overload

Source

fn to_chars(self) -> Array<u16>

ToChars() 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§

Source§

impl<__T: IStrOpe> IStrOpeMethods for __T

Available on crate feature root-strope only.