Skip to main content

IPropertyTableAssignerMethods

Trait IPropertyTableAssignerMethods 

Source
pub trait IPropertyTableAssignerMethods: IPropertyTableAssigner {
    // Provided methods
    fn ctor(
        self,
        type: impl Into<SystemType>,
        expected_missing_properties: impl Into<Array<Il2CppString>>,
    ) { ... }
    fn add_expected_missing_property(self, name: impl Into<Il2CppString>) { ... }
    fn try_assign_property(
        self,
        obj: impl Into<Object>,
        name: impl Into<Il2CppString>,
        value: impl Into<DynValue>,
    ) -> bool { ... }
    fn assign_property(
        self,
        obj: impl Into<Object>,
        name: impl Into<Il2CppString>,
        value: impl Into<DynValue>,
    ) { ... }
    fn assign_object(self, obj: impl Into<Object>, data: impl Into<Table>) { ... }
    fn set_subassigner_for_type(
        self,
        property_type: impl Into<SystemType>,
        assigner: impl Into<IPropertyTableAssigner_Interface>,
    ) { ... }
    fn moon_sharp_interpreter_interop_i_property_table_assigner_assign_object_unchecked(
        self,
        obj: impl Into<Object>,
        data: impl Into<Table>,
    ) { ... }
}

Provided Methods§

Source

fn ctor( self, type: impl Into<SystemType>, expected_missing_properties: impl Into<Array<Il2CppString>>, )

.ctor(::unity::SystemType, ::unity::Array<::unity::Il2CppString>) overload

Source

fn add_expected_missing_property(self, name: impl Into<Il2CppString>)

AddExpectedMissingProperty(::unity::Il2CppString) overload

Source

fn try_assign_property( self, obj: impl Into<Object>, name: impl Into<Il2CppString>, value: impl Into<DynValue>, ) -> bool

TryAssignProperty(crate::system::object::Object, ::unity::Il2CppString, crate::moon_sharp::interpreter::dynvalue::DynValue) overload

Source

fn assign_property( self, obj: impl Into<Object>, name: impl Into<Il2CppString>, value: impl Into<DynValue>, )

AssignProperty(crate::system::object::Object, ::unity::Il2CppString, crate::moon_sharp::interpreter::dynvalue::DynValue) overload

Source

fn assign_object(self, obj: impl Into<Object>, data: impl Into<Table>)

AssignObject(crate::system::object::Object, crate::moon_sharp::interpreter::table::Table) overload

Source

fn set_subassigner_for_type( self, property_type: impl Into<SystemType>, assigner: impl Into<IPropertyTableAssigner_Interface>, )

SetSubassignerForType(::unity::SystemType, crate::moon_sharp::interpreter::interop::ipropertytableassigner_interface::IPropertyTableAssigner_Interface) overload

Source

fn moon_sharp_interpreter_interop_i_property_table_assigner_assign_object_unchecked( self, obj: impl Into<Object>, data: impl Into<Table>, )

MoonSharp.Interpreter.Interop.IPropertyTableAssigner.AssignObjectUnchecked(crate::system::object::Object, crate::moon_sharp::interpreter::table::Table) 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: IPropertyTableAssigner> IPropertyTableAssignerMethods for __T

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