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§
Sourcefn get_name(self) -> Il2CppString
fn get_name(self) -> Il2CppString
get_Name() overload
Sourcefn set_name(self, value: impl Into<Il2CppString>)
fn set_name(self, value: impl Into<Il2CppString>)
set_Name(::unity::Il2CppString) overload
Sourcefn get_has_default_value(self) -> bool
fn get_has_default_value(self) -> bool
get_HasDefaultValue() overload
Sourcefn set_has_default_value(self, value: impl Into<bool>)
fn set_has_default_value(self, value: impl Into<bool>)
set_HasDefaultValue(bool) overload
Sourcefn get_default_value(self) -> Object
fn get_default_value(self) -> Object
get_DefaultValue() overload
Sourcefn set_default_value(self, value: impl Into<Object>)
fn set_default_value(self, value: impl Into<Object>)
set_DefaultValue(crate::system::object::Object) overload
Sourcefn get_is_out(self) -> bool
fn get_is_out(self) -> bool
get_IsOut() overload
Sourcefn set_is_out(self, value: impl Into<bool>)
fn set_is_out(self, value: impl Into<bool>)
set_IsOut(bool) overload
Sourcefn get_is_ref(self) -> bool
fn get_is_ref(self) -> bool
get_IsRef() overload
Sourcefn set_is_ref(self, value: impl Into<bool>)
fn set_is_ref(self, value: impl Into<bool>)
set_IsRef(bool) overload
Sourcefn get_is_var_args(self) -> bool
fn get_is_var_args(self) -> bool
get_IsVarArgs() overload
Sourcefn set_is_var_args(self, value: impl Into<bool>)
fn set_is_var_args(self, value: impl Into<bool>)
set_IsVarArgs(bool) overload
Sourcefn get_has_been_restricted(self) -> bool
fn get_has_been_restricted(self) -> bool
get_HasBeenRestricted() overload
Sourcefn get_original_type(self) -> SystemType
fn get_original_type(self) -> SystemType
get_OriginalType() overload
Sourcefn 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( 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
Sourcefn 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_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
Sourcefn ctor_3(self, pi: impl Into<ParameterInfo>)
fn ctor_3(self, pi: impl Into<ParameterInfo>)
.ctor(crate::system::reflection::parameterinfo::ParameterInfo) overload
Sourcefn to_string(self) -> Il2CppString
fn to_string(self) -> Il2CppString
ToString() overload
Sourcefn restrict_type(self, type: impl Into<SystemType>)
fn restrict_type(self, type: impl Into<SystemType>)
RestrictType(::unity::SystemType) overload
Sourcefn prepare_for_wiring(self, table: impl Into<Table>)
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§
impl<__T: IParameterDescriptor> IParameterDescriptorMethods for __T
moon_sharp-interpreter-interop-basic_descriptors-parameterdescriptor only.