Skip to main content

ICompositeUserDataDescriptorMethods

Trait ICompositeUserDataDescriptorMethods 

Source
pub trait ICompositeUserDataDescriptorMethods: ICompositeUserDataDescriptor {
    // Provided methods
    fn ctor(
        self,
        descriptors: impl Into<List_1<IUserDataDescriptor>>,
        type: impl Into<SystemType>,
    ) { ... }
    fn get_descriptors(self) -> IList_1_Interface<IUserDataDescriptor> { ... }
    fn get_name(self) -> Il2CppString { ... }
    fn get_type(self) -> SystemType { ... }
    fn index(
        self,
        script: impl Into<Script>,
        obj: impl Into<Object>,
        index: impl Into<DynValue>,
        is_name_index: impl Into<bool>,
    ) -> DynValue { ... }
    fn set_index(
        self,
        script: impl Into<Script>,
        obj: impl Into<Object>,
        index: impl Into<DynValue>,
        value: impl Into<DynValue>,
        is_name_index: impl Into<bool>,
    ) -> bool { ... }
    fn as_string(self, obj: impl Into<Object>) -> Il2CppString { ... }
    fn meta_index(
        self,
        script: impl Into<Script>,
        obj: impl Into<Object>,
        metaname: impl Into<Il2CppString>,
    ) -> DynValue { ... }
    fn is_type_compatible(
        self,
        type: impl Into<SystemType>,
        obj: impl Into<Object>,
    ) -> bool { ... }
}

Provided Methods§

Source

fn ctor( self, descriptors: impl Into<List_1<IUserDataDescriptor>>, type: impl Into<SystemType>, )

.ctor(crate::system::collections::generic::list_1::List_1<crate::moon_sharp::interpreter::interop::iuserdatadescriptor::IUserDataDescriptor>, ::unity::SystemType) overload

Source

fn get_descriptors(self) -> IList_1_Interface<IUserDataDescriptor>

get_Descriptors() overload

Source

fn get_name(self) -> Il2CppString

get_Name() overload

Source

fn get_type(self) -> SystemType

get_Type() overload

Source

fn index( self, script: impl Into<Script>, obj: impl Into<Object>, index: impl Into<DynValue>, is_name_index: impl Into<bool>, ) -> DynValue

Index(crate::moon_sharp::interpreter::script::Script, crate::system::object::Object, crate::moon_sharp::interpreter::dynvalue::DynValue, bool) overload

Source

fn set_index( self, script: impl Into<Script>, obj: impl Into<Object>, index: impl Into<DynValue>, value: impl Into<DynValue>, is_name_index: impl Into<bool>, ) -> bool

SetIndex(crate::moon_sharp::interpreter::script::Script, crate::system::object::Object, crate::moon_sharp::interpreter::dynvalue::DynValue, crate::moon_sharp::interpreter::dynvalue::DynValue, bool) overload

Source

fn as_string(self, obj: impl Into<Object>) -> Il2CppString

AsString(crate::system::object::Object) overload

Source

fn meta_index( self, script: impl Into<Script>, obj: impl Into<Object>, metaname: impl Into<Il2CppString>, ) -> DynValue

MetaIndex(crate::moon_sharp::interpreter::script::Script, crate::system::object::Object, ::unity::Il2CppString) overload

Source

fn is_type_compatible( self, type: impl Into<SystemType>, obj: impl Into<Object>, ) -> bool

IsTypeCompatible(::unity::SystemType, crate::system::object::Object) 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: ICompositeUserDataDescriptor> ICompositeUserDataDescriptorMethods for __T

Available on crate feature moon_sharp-interpreter-interop-compositeuserdatadescriptor only.