Skip to main content

IParameterDescriptorMethods

Trait IParameterDescriptorMethods 

Source
pub trait IParameterDescriptorMethods: IParameterDescriptor {
Show 22 methods // Provided methods fn get_name(self) -> Il2CppString { ... } fn set_name(self, value: impl Into<Il2CppString>) { ... } fn get_type(self) -> SystemType { ... } fn set_type(self, value: impl Into<SystemType>) { ... } fn get_has_default_value(self) -> bool { ... } fn set_has_default_value(self, value: impl Into<bool>) { ... } fn get_default_value(self) -> Object { ... } fn set_default_value(self, value: impl Into<Object>) { ... } fn get_is_out(self) -> bool { ... } fn set_is_out(self, value: impl Into<bool>) { ... } fn get_is_ref(self) -> bool { ... } fn set_is_ref(self, value: impl Into<bool>) { ... } fn get_is_var_args(self) -> bool { ... } fn set_is_var_args(self, value: impl Into<bool>) { ... } fn get_has_been_restricted(self) -> bool { ... } fn get_original_type(self) -> SystemType { ... } fn ctor( self, name: impl Into<Il2CppString>, type: impl Into<SystemType>, has_default_value: impl Into<bool>, default_value: impl Into<IlInstance>, is_out: impl Into<bool>, is_ref: impl Into<bool>, is_var_args: impl Into<bool>, ) { ... } fn ctor_2( self, name: impl Into<Il2CppString>, type: impl Into<SystemType>, has_default_value: impl Into<bool>, default_value: impl Into<Object>, is_out: impl Into<bool>, is_ref: impl Into<bool>, is_var_args: impl Into<bool>, type_restriction: impl Into<SystemType>, ) { ... } fn ctor_3(self, pi: impl Into<ParameterInfo>) { ... } fn to_string(self) -> Il2CppString { ... } fn restrict_type(self, type: impl Into<SystemType>) { ... } fn prepare_for_wiring(self, table: impl Into<Table>) { ... }
}

Provided Methods§

Source

fn get_name(self) -> Il2CppString

get_Name() overload

Source

fn set_name(self, value: impl Into<Il2CppString>)

set_Name(::unity::Il2CppString) overload

Source

fn get_type(self) -> SystemType

get_Type() overload

Source

fn set_type(self, value: impl Into<SystemType>)

set_Type(::unity::SystemType) overload

Source

fn get_has_default_value(self) -> bool

get_HasDefaultValue() overload

Source

fn set_has_default_value(self, value: impl Into<bool>)

set_HasDefaultValue(bool) overload

Source

fn get_default_value(self) -> Object

get_DefaultValue() overload

Source

fn set_default_value(self, value: impl Into<Object>)

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

Source

fn get_is_out(self) -> bool

get_IsOut() overload

Source

fn set_is_out(self, value: impl Into<bool>)

set_IsOut(bool) overload

Source

fn get_is_ref(self) -> bool

get_IsRef() overload

Source

fn set_is_ref(self, value: impl Into<bool>)

set_IsRef(bool) overload

Source

fn get_is_var_args(self) -> bool

get_IsVarArgs() overload

Source

fn set_is_var_args(self, value: impl Into<bool>)

set_IsVarArgs(bool) overload

Source

fn get_has_been_restricted(self) -> bool

get_HasBeenRestricted() overload

Source

fn get_original_type(self) -> SystemType

get_OriginalType() overload

Source

fn ctor( self, name: impl Into<Il2CppString>, type: impl Into<SystemType>, has_default_value: impl Into<bool>, default_value: impl Into<IlInstance>, is_out: impl Into<bool>, is_ref: impl Into<bool>, is_var_args: impl Into<bool>, )

.ctor(::unity::Il2CppString, ::unity::SystemType, bool, ::unity::IlInstance, bool, bool, bool) overload

Source

fn ctor_2( self, name: impl Into<Il2CppString>, type: impl Into<SystemType>, has_default_value: impl Into<bool>, default_value: impl Into<Object>, is_out: impl Into<bool>, is_ref: impl Into<bool>, is_var_args: impl Into<bool>, type_restriction: impl Into<SystemType>, )

.ctor(::unity::Il2CppString, ::unity::SystemType, bool, crate::system::object::Object, bool, bool, bool, ::unity::SystemType) overload

Source

fn ctor_3(self, pi: impl Into<ParameterInfo>)

.ctor(crate::system::reflection::parameterinfo::ParameterInfo) overload

Source

fn to_string(self) -> Il2CppString

ToString() overload

Source

fn restrict_type(self, type: impl Into<SystemType>)

RestrictType(::unity::SystemType) overload

Source

fn prepare_for_wiring(self, table: impl Into<Table>)

PrepareForWiring(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: IParameterDescriptor> IParameterDescriptorMethods for __T

Available on crate feature moon_sharp-interpreter-interop-basic_descriptors-parameterdescriptor only.