pub trait IParameterInfoMethods: IParameterInfo {
Show 15 methods
// Provided methods
fn ctor(self) { ... }
fn to_string(self) -> Il2CppString { ... }
fn get_parameter_type(self) -> SystemType { ... }
fn get_attributes(self) -> ParameterAttributes { ... }
fn get_is_in(self) -> bool { ... }
fn get_is_optional(self) -> bool { ... }
fn get_is_out(self) -> bool { ... }
fn get_is_retval(self) -> bool { ... }
fn get_name(self) -> Il2CppString { ... }
fn get_position(self) -> i32 { ... }
fn get_pseudo_custom_attributes(self) -> Array<Object> { ... }
fn get_default_value_impl(self) -> Object { ... }
fn get_default_value(self) -> Object { ... }
fn get_custom_attributes(
self,
attribute_type: impl Into<SystemType>,
inherit: impl Into<bool>,
) -> Array<Object> { ... }
fn is_defined(
self,
attribute_type: impl Into<SystemType>,
inherit: impl Into<bool>,
) -> bool { ... }
}Provided Methods§
Sourcefn to_string(self) -> Il2CppString
fn to_string(self) -> Il2CppString
ToString() overload
Sourcefn get_parameter_type(self) -> SystemType
fn get_parameter_type(self) -> SystemType
get_ParameterType() overload
Sourcefn get_attributes(self) -> ParameterAttributes
fn get_attributes(self) -> ParameterAttributes
get_Attributes() overload
Sourcefn get_is_optional(self) -> bool
fn get_is_optional(self) -> bool
get_IsOptional() overload
Sourcefn get_is_out(self) -> bool
fn get_is_out(self) -> bool
get_IsOut() overload
Sourcefn get_is_retval(self) -> bool
fn get_is_retval(self) -> bool
get_IsRetval() overload
Sourcefn get_name(self) -> Il2CppString
fn get_name(self) -> Il2CppString
get_Name() overload
Sourcefn get_position(self) -> i32
fn get_position(self) -> i32
get_Position() overload
Sourcefn get_pseudo_custom_attributes(self) -> Array<Object>
fn get_pseudo_custom_attributes(self) -> Array<Object>
GetPseudoCustomAttributes() overload
Sourcefn get_default_value_impl(self) -> Object
fn get_default_value_impl(self) -> Object
GetDefaultValueImpl() overload
Sourcefn get_default_value(self) -> Object
fn get_default_value(self) -> Object
get_DefaultValue() overload
Sourcefn get_custom_attributes(
self,
attribute_type: impl Into<SystemType>,
inherit: impl Into<bool>,
) -> Array<Object>
fn get_custom_attributes( self, attribute_type: impl Into<SystemType>, inherit: impl Into<bool>, ) -> Array<Object>
GetCustomAttributes(::unity::SystemType, bool) overload
Sourcefn is_defined(
self,
attribute_type: impl Into<SystemType>,
inherit: impl Into<bool>,
) -> bool
fn is_defined( self, attribute_type: impl Into<SystemType>, inherit: impl Into<bool>, ) -> bool
IsDefined(::unity::SystemType, bool) 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: IParameterInfo> IParameterInfoMethods for __T
Available on crate feature
system-reflection-parameterinfo only.