pub trait ICustomConvertersCollectionMethods: ICustomConvertersCollection {
// Provided methods
fn ctor(self) { ... }
fn set_script_to_clr_custom_conversion(
self,
script_data_type: impl Into<DataType>,
clr_data_type: impl Into<SystemType>,
converter: impl Into<Func_2<DynValue, Object>>,
) { ... }
fn get_script_to_clr_custom_conversion(
self,
script_data_type: impl Into<DataType>,
clr_data_type: impl Into<SystemType>,
) -> Func_2<DynValue, Object> { ... }
fn set_clr_to_script_custom_conversion(
self,
clr_data_type: impl Into<SystemType>,
converter: impl Into<Func_3<Script, Object, DynValue>>,
) { ... }
fn set_clr_to_script_custom_conversion_2<M0: IlType + Copy + ClassIdentity>(
self,
converter: impl Into<Func_3<Script, M0, DynValue>>,
) { ... }
fn get_clr_to_script_custom_conversion(
self,
clr_data_type: impl Into<SystemType>,
) -> Func_3<Script, Object, DynValue> { ... }
fn set_clr_to_script_custom_conversion_3(
self,
clr_data_type: impl Into<SystemType>,
converter: impl Into<Func_2<Object, DynValue>>,
) { ... }
fn set_clr_to_script_custom_conversion_4<M0: IlType + Copy + ClassIdentity>(
self,
converter: impl Into<Func_2<M0, DynValue>>,
) { ... }
fn clear(self) { ... }
}Provided Methods§
Sourcefn set_script_to_clr_custom_conversion(
self,
script_data_type: impl Into<DataType>,
clr_data_type: impl Into<SystemType>,
converter: impl Into<Func_2<DynValue, Object>>,
)
fn set_script_to_clr_custom_conversion( self, script_data_type: impl Into<DataType>, clr_data_type: impl Into<SystemType>, converter: impl Into<Func_2<DynValue, Object>>, )
SetScriptToClrCustomConversion(crate::moon_sharp::interpreter::datatype::DataType, ::unity::SystemType, crate::system::func_2::Func_2<crate::moon_sharp::interpreter::dynvalue::DynValue,crate::system::object::Object>) overload
Sourcefn get_script_to_clr_custom_conversion(
self,
script_data_type: impl Into<DataType>,
clr_data_type: impl Into<SystemType>,
) -> Func_2<DynValue, Object>
fn get_script_to_clr_custom_conversion( self, script_data_type: impl Into<DataType>, clr_data_type: impl Into<SystemType>, ) -> Func_2<DynValue, Object>
GetScriptToClrCustomConversion(crate::moon_sharp::interpreter::datatype::DataType, ::unity::SystemType) overload
Sourcefn set_clr_to_script_custom_conversion(
self,
clr_data_type: impl Into<SystemType>,
converter: impl Into<Func_3<Script, Object, DynValue>>,
)
fn set_clr_to_script_custom_conversion( self, clr_data_type: impl Into<SystemType>, converter: impl Into<Func_3<Script, Object, DynValue>>, )
SetClrToScriptCustomConversion(::unity::SystemType, crate::system::func_3::Func_3<crate::moon_sharp::interpreter::script::Script,crate::system::object::Object,crate::moon_sharp::interpreter::dynvalue::DynValue>) overload
fn set_clr_to_script_custom_conversion_2<M0: IlType + Copy + ClassIdentity>( self, converter: impl Into<Func_3<Script, M0, DynValue>>, )
Sourcefn get_clr_to_script_custom_conversion(
self,
clr_data_type: impl Into<SystemType>,
) -> Func_3<Script, Object, DynValue>
fn get_clr_to_script_custom_conversion( self, clr_data_type: impl Into<SystemType>, ) -> Func_3<Script, Object, DynValue>
GetClrToScriptCustomConversion(::unity::SystemType) overload
Sourcefn set_clr_to_script_custom_conversion_3(
self,
clr_data_type: impl Into<SystemType>,
converter: impl Into<Func_2<Object, DynValue>>,
)
fn set_clr_to_script_custom_conversion_3( self, clr_data_type: impl Into<SystemType>, converter: impl Into<Func_2<Object, DynValue>>, )
SetClrToScriptCustomConversion(::unity::SystemType, crate::system::func_2::Func_2<crate::system::object::Object,crate::moon_sharp::interpreter::dynvalue::DynValue>) overload
fn set_clr_to_script_custom_conversion_4<M0: IlType + Copy + ClassIdentity>( self, converter: impl Into<Func_2<M0, DynValue>>, )
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: ICustomConvertersCollection> ICustomConvertersCollectionMethods for __T
moon_sharp-interpreter-interop-customconverterscollection only.