Skip to main content

IStringRangeMethods

Trait IStringRangeMethods 

Source
pub trait IStringRangeMethods: IStringRange {
    // Provided methods
    fn get_start(self) -> i32 { ... }
    fn set_start(self, value: impl Into<i32>) { ... }
    fn get_end(self) -> i32 { ... }
    fn set_end(self, value: impl Into<i32>) { ... }
    fn ctor(self) { ... }
    fn ctor_2(self, start: impl Into<i32>, end: impl Into<i32>) { ... }
    fn apply_to_string(self, value: impl Into<Il2CppString>) -> Il2CppString { ... }
    fn length(self) -> i32 { ... }
}

Provided Methods§

Source

fn get_start(self) -> i32

get_Start() overload

Source

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

set_Start(i32) overload

Source

fn get_end(self) -> i32

get_End() overload

Source

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

set_End(i32) overload

Source

fn ctor(self)

.ctor() overload

Source

fn ctor_2(self, start: impl Into<i32>, end: impl Into<i32>)

.ctor(i32, i32) overload

Source

fn apply_to_string(self, value: impl Into<Il2CppString>) -> Il2CppString

ApplyToString(::unity::Il2CppString) overload

Source

fn length(self) -> i32

Length() 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: IStringRange> IStringRangeMethods for __T

Available on crate feature moon_sharp-interpreter-core_lib-string_lib-stringrange only.