pub trait IMonoParameterInfoMethods: IMonoParameterInfo {
// Provided methods
fn ctor(
self,
pinfo: impl Into<ParameterInfo>,
member: impl Into<MemberInfo>,
) { ... }
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 ctor(self, pinfo: impl Into<ParameterInfo>, member: impl Into<MemberInfo>)
fn ctor(self, pinfo: impl Into<ParameterInfo>, member: impl Into<MemberInfo>)
.ctor(crate::system::reflection::parameterinfo::ParameterInfo, crate::system::reflection::memberinfo::MemberInfo) 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: IMonoParameterInfo> IMonoParameterInfoMethods for __T
Available on crate feature
system-reflection-monoparameterinfo only.