pub trait ITableMethods: ITable {
Show 41 methods
// Provided methods
fn ctor(self, owner: impl Into<Script>) { ... }
fn ctor_2(
self,
owner: impl Into<Script>,
array_values: impl Into<Array<DynValue>>,
) { ... }
fn get_owner_script(self) -> Script { ... }
fn clear(self) { ... }
fn get_integral_key(self, d: impl Into<f64>) -> i32 { ... }
fn get_item(self, keys: impl Into<Array<Object>>) -> Object { ... }
fn set_item(self, keys: impl Into<Array<Object>>, value: impl Into<Object>) { ... }
fn get_item_2(self, key: impl Into<Object>) -> Object { ... }
fn set_item_2(self, key: impl Into<Object>, value: impl Into<Object>) { ... }
fn resolve_multiple_keys(
self,
keys: impl Into<Array<Object>>,
) -> (Table, IlInstance) { ... }
fn append(self, value: impl Into<DynValue>) { ... }
fn perform_table_set<M0: IlType + Copy + ClassIdentity>(
self,
list_index: impl Into<LinkedListIndex_2<M0, TablePair>>,
key: impl Into<M0>,
key_dyn_value: impl Into<DynValue>,
value: impl Into<DynValue>,
is_number: impl Into<bool>,
append_key: impl Into<i32>,
) { ... }
fn set(self, key: impl Into<Il2CppString>, value: impl Into<DynValue>) { ... }
fn set_2(self, key: impl Into<i32>, value: impl Into<DynValue>) { ... }
fn set_3(self, key: impl Into<DynValue>, value: impl Into<DynValue>) { ... }
fn set_4(self, key: impl Into<Object>, value: impl Into<DynValue>) { ... }
fn set_5(self, keys: impl Into<Array<Object>>, value: impl Into<DynValue>) { ... }
fn get(self, key: impl Into<Il2CppString>) -> DynValue { ... }
fn get_2(self, key: impl Into<i32>) -> DynValue { ... }
fn get_3(self, key: impl Into<DynValue>) -> DynValue { ... }
fn get_4(self, key: impl Into<Object>) -> DynValue { ... }
fn get_5(self, keys: impl Into<Array<Object>>) -> DynValue { ... }
fn raw_get(self, key: impl Into<Il2CppString>) -> DynValue { ... }
fn raw_get_2(self, key: impl Into<i32>) -> DynValue { ... }
fn raw_get_3(self, key: impl Into<DynValue>) -> DynValue { ... }
fn raw_get_4(self, key: impl Into<Object>) -> DynValue { ... }
fn raw_get_5(self, keys: impl Into<Array<Object>>) -> DynValue { ... }
fn perform_table_remove<M0: IlType + Copy + ClassIdentity>(
self,
list_index: impl Into<LinkedListIndex_2<M0, TablePair>>,
key: impl Into<M0>,
is_number: impl Into<bool>,
) -> bool { ... }
fn remove(self, key: impl Into<Il2CppString>) -> bool { ... }
fn remove_2(self, key: impl Into<i32>) -> bool { ... }
fn remove_3(self, key: impl Into<DynValue>) -> bool { ... }
fn remove_4(self, key: impl Into<Object>) -> bool { ... }
fn remove_5(self, keys: impl Into<Array<Object>>) -> bool { ... }
fn collect_dead_keys(self) { ... }
fn get_length(self) -> i32 { ... }
fn init_next_array_keys(
self,
val: impl Into<DynValue>,
lastpos: impl Into<bool>,
) { ... }
fn get_meta_table(self) -> Table { ... }
fn set_meta_table(self, value: impl Into<Table>) { ... }
fn get_pairs(self) -> IEnumerable_1<TablePair> { ... }
fn get_keys(self) -> IEnumerable_1<DynValue> { ... }
fn get_values(self) -> IEnumerable_1<DynValue> { ... }
}Provided Methods§
Sourcefn ctor(self, owner: impl Into<Script>)
fn ctor(self, owner: impl Into<Script>)
.ctor(crate::moon_sharp::interpreter::script::Script) overload
Sourcefn ctor_2(
self,
owner: impl Into<Script>,
array_values: impl Into<Array<DynValue>>,
)
fn ctor_2( self, owner: impl Into<Script>, array_values: impl Into<Array<DynValue>>, )
.ctor(crate::moon_sharp::interpreter::script::Script, ::unity::Array<crate::moon_sharp::interpreter::dynvalue::DynValue>) overload
Sourcefn get_owner_script(self) -> Script
fn get_owner_script(self) -> Script
get_OwnerScript() overload
Sourcefn get_integral_key(self, d: impl Into<f64>) -> i32
fn get_integral_key(self, d: impl Into<f64>) -> i32
GetIntegralKey(f64) overload
Sourcefn get_item(self, keys: impl Into<Array<Object>>) -> Object
fn get_item(self, keys: impl Into<Array<Object>>) -> Object
get_Item(::unity::Array<crate::system::object::Object>) overload
Sourcefn set_item(self, keys: impl Into<Array<Object>>, value: impl Into<Object>)
fn set_item(self, keys: impl Into<Array<Object>>, value: impl Into<Object>)
set_Item(::unity::Array<crate::system::object::Object>, crate::system::object::Object) overload
Sourcefn get_item_2(self, key: impl Into<Object>) -> Object
fn get_item_2(self, key: impl Into<Object>) -> Object
get_Item(crate::system::object::Object) overload
Sourcefn set_item_2(self, key: impl Into<Object>, value: impl Into<Object>)
fn set_item_2(self, key: impl Into<Object>, value: impl Into<Object>)
set_Item(crate::system::object::Object, crate::system::object::Object) overload
Sourcefn resolve_multiple_keys(
self,
keys: impl Into<Array<Object>>,
) -> (Table, IlInstance)
fn resolve_multiple_keys( self, keys: impl Into<Array<Object>>, ) -> (Table, IlInstance)
ResolveMultipleKeys(::unity::Array<crate::system::object::Object>, *mut::unity::IlInstance) overload
Sourcefn append(self, value: impl Into<DynValue>)
fn append(self, value: impl Into<DynValue>)
Append(crate::moon_sharp::interpreter::dynvalue::DynValue) overload
fn perform_table_set<M0: IlType + Copy + ClassIdentity>( self, list_index: impl Into<LinkedListIndex_2<M0, TablePair>>, key: impl Into<M0>, key_dyn_value: impl Into<DynValue>, value: impl Into<DynValue>, is_number: impl Into<bool>, append_key: impl Into<i32>, )
Sourcefn set(self, key: impl Into<Il2CppString>, value: impl Into<DynValue>)
fn set(self, key: impl Into<Il2CppString>, value: impl Into<DynValue>)
Set(::unity::Il2CppString, crate::moon_sharp::interpreter::dynvalue::DynValue) overload
Sourcefn set_2(self, key: impl Into<i32>, value: impl Into<DynValue>)
fn set_2(self, key: impl Into<i32>, value: impl Into<DynValue>)
Set(i32, crate::moon_sharp::interpreter::dynvalue::DynValue) overload
Sourcefn set_3(self, key: impl Into<DynValue>, value: impl Into<DynValue>)
fn set_3(self, key: impl Into<DynValue>, value: impl Into<DynValue>)
Set(crate::moon_sharp::interpreter::dynvalue::DynValue, crate::moon_sharp::interpreter::dynvalue::DynValue) overload
Sourcefn set_4(self, key: impl Into<Object>, value: impl Into<DynValue>)
fn set_4(self, key: impl Into<Object>, value: impl Into<DynValue>)
Set(crate::system::object::Object, crate::moon_sharp::interpreter::dynvalue::DynValue) overload
Sourcefn set_5(self, keys: impl Into<Array<Object>>, value: impl Into<DynValue>)
fn set_5(self, keys: impl Into<Array<Object>>, value: impl Into<DynValue>)
Set(::unity::Array<crate::system::object::Object>, crate::moon_sharp::interpreter::dynvalue::DynValue) overload
Sourcefn get(self, key: impl Into<Il2CppString>) -> DynValue
fn get(self, key: impl Into<Il2CppString>) -> DynValue
Get(::unity::Il2CppString) overload
Sourcefn get_3(self, key: impl Into<DynValue>) -> DynValue
fn get_3(self, key: impl Into<DynValue>) -> DynValue
Get(crate::moon_sharp::interpreter::dynvalue::DynValue) overload
Sourcefn get_5(self, keys: impl Into<Array<Object>>) -> DynValue
fn get_5(self, keys: impl Into<Array<Object>>) -> DynValue
Get(::unity::Array<crate::system::object::Object>) overload
Sourcefn raw_get(self, key: impl Into<Il2CppString>) -> DynValue
fn raw_get(self, key: impl Into<Il2CppString>) -> DynValue
RawGet(::unity::Il2CppString) overload
Sourcefn raw_get_3(self, key: impl Into<DynValue>) -> DynValue
fn raw_get_3(self, key: impl Into<DynValue>) -> DynValue
RawGet(crate::moon_sharp::interpreter::dynvalue::DynValue) overload
Sourcefn raw_get_4(self, key: impl Into<Object>) -> DynValue
fn raw_get_4(self, key: impl Into<Object>) -> DynValue
RawGet(crate::system::object::Object) overload
Sourcefn raw_get_5(self, keys: impl Into<Array<Object>>) -> DynValue
fn raw_get_5(self, keys: impl Into<Array<Object>>) -> DynValue
RawGet(::unity::Array<crate::system::object::Object>) overload
fn perform_table_remove<M0: IlType + Copy + ClassIdentity>( self, list_index: impl Into<LinkedListIndex_2<M0, TablePair>>, key: impl Into<M0>, is_number: impl Into<bool>, ) -> bool
Sourcefn remove(self, key: impl Into<Il2CppString>) -> bool
fn remove(self, key: impl Into<Il2CppString>) -> bool
Remove(::unity::Il2CppString) overload
Sourcefn remove_3(self, key: impl Into<DynValue>) -> bool
fn remove_3(self, key: impl Into<DynValue>) -> bool
Remove(crate::moon_sharp::interpreter::dynvalue::DynValue) overload
Sourcefn remove_4(self, key: impl Into<Object>) -> bool
fn remove_4(self, key: impl Into<Object>) -> bool
Remove(crate::system::object::Object) overload
Sourcefn remove_5(self, keys: impl Into<Array<Object>>) -> bool
fn remove_5(self, keys: impl Into<Array<Object>>) -> bool
Remove(::unity::Array<crate::system::object::Object>) overload
Sourcefn collect_dead_keys(self)
fn collect_dead_keys(self)
CollectDeadKeys() overload
Sourcefn get_length(self) -> i32
fn get_length(self) -> i32
get_Length() overload
Sourcefn init_next_array_keys(
self,
val: impl Into<DynValue>,
lastpos: impl Into<bool>,
)
fn init_next_array_keys( self, val: impl Into<DynValue>, lastpos: impl Into<bool>, )
InitNextArrayKeys(crate::moon_sharp::interpreter::dynvalue::DynValue, bool) overload
Sourcefn get_meta_table(self) -> Table
fn get_meta_table(self) -> Table
get_MetaTable() overload
Sourcefn set_meta_table(self, value: impl Into<Table>)
fn set_meta_table(self, value: impl Into<Table>)
set_MetaTable(crate::moon_sharp::interpreter::table::Table) overload
Sourcefn get_pairs(self) -> IEnumerable_1<TablePair>
fn get_pairs(self) -> IEnumerable_1<TablePair>
get_Pairs() overload
Sourcefn get_keys(self) -> IEnumerable_1<DynValue>
fn get_keys(self) -> IEnumerable_1<DynValue>
get_Keys() overload
Sourcefn get_values(self) -> IEnumerable_1<DynValue>
fn get_values(self) -> IEnumerable_1<DynValue>
get_Values() 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: ITable> ITableMethods for __T
moon_sharp-interpreter-table only.