pub trait ICharPtrMethods: ICharPtr {
Show 24 methods
// Provided methods
fn get_item(self, offset: impl Into<i32>) -> u16 { ... }
fn set_item(self, offset: impl Into<i32>, value: impl Into<u16>) { ... }
fn get_item_2(self, offset: impl Into<u32>) -> u16 { ... }
fn set_item_2(self, offset: impl Into<u32>, value: impl Into<u16>) { ... }
fn get_item_3(self, offset: impl Into<i64>) -> u16 { ... }
fn set_item_3(self, offset: impl Into<i64>, value: impl Into<u16>) { ... }
fn ctor(self) { ... }
fn ctor_2(self, str: impl Into<Il2CppString>) { ... }
fn ctor_3(self, ptr: impl Into<CharPtr>) { ... }
fn ctor_4(self, ptr: impl Into<CharPtr>, index: impl Into<i32>) { ... }
fn ctor_5(self, chars: impl Into<Array<u16>>) { ... }
fn ctor_6(self, chars: impl Into<Array<u16>>, index: impl Into<i32>) { ... }
fn ctor_7(self, bytes: impl Into<Array<u8>>) { ... }
fn ctor_8(self, ptr: impl Into<IntPtr>) { ... }
fn inc(self) { ... }
fn dec(self) { ... }
fn next(self) -> CharPtr { ... }
fn prev(self) -> CharPtr { ... }
fn add(self, ofs: impl Into<i32>) -> CharPtr { ... }
fn sub(self, ofs: impl Into<i32>) -> CharPtr { ... }
fn equals(self, o: impl Into<Object>) -> bool { ... }
fn get_hash_code(self) -> i32 { ... }
fn to_string(self) -> Il2CppString { ... }
fn to_string_2(self, length: impl Into<i32>) -> Il2CppString { ... }
}Provided Methods§
Sourcefn get_item_2(self, offset: impl Into<u32>) -> u16
fn get_item_2(self, offset: impl Into<u32>) -> u16
get_Item(u32) overload
Sourcefn set_item_2(self, offset: impl Into<u32>, value: impl Into<u16>)
fn set_item_2(self, offset: impl Into<u32>, value: impl Into<u16>)
set_Item(u32, u16) overload
Sourcefn get_item_3(self, offset: impl Into<i64>) -> u16
fn get_item_3(self, offset: impl Into<i64>) -> u16
get_Item(i64) overload
Sourcefn set_item_3(self, offset: impl Into<i64>, value: impl Into<u16>)
fn set_item_3(self, offset: impl Into<i64>, value: impl Into<u16>)
set_Item(i64, u16) overload
Sourcefn ctor_2(self, str: impl Into<Il2CppString>)
fn ctor_2(self, str: impl Into<Il2CppString>)
.ctor(::unity::Il2CppString) overload
Sourcefn ctor_3(self, ptr: impl Into<CharPtr>)
fn ctor_3(self, ptr: impl Into<CharPtr>)
.ctor(crate::moon_sharp::interpreter::interop::lua_state_interop::charptr::CharPtr) overload
Sourcefn ctor_4(self, ptr: impl Into<CharPtr>, index: impl Into<i32>)
fn ctor_4(self, ptr: impl Into<CharPtr>, index: impl Into<i32>)
.ctor(crate::moon_sharp::interpreter::interop::lua_state_interop::charptr::CharPtr, i32) overload
Sourcefn ctor_6(self, chars: impl Into<Array<u16>>, index: impl Into<i32>)
fn ctor_6(self, chars: impl Into<Array<u16>>, index: impl Into<i32>)
.ctor(::unity::Array<u16>, i32) overload
Sourcefn get_hash_code(self) -> i32
fn get_hash_code(self) -> i32
GetHashCode() overload
Sourcefn to_string(self) -> Il2CppString
fn to_string(self) -> Il2CppString
ToString() overload
Sourcefn to_string_2(self, length: impl Into<i32>) -> Il2CppString
fn to_string_2(self, length: impl Into<i32>) -> Il2CppString
ToString(i32) 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: ICharPtr> ICharPtrMethods for __T
Available on crate feature
moon_sharp-interpreter-interop-lua_state_interop-charptr only.