Skip to main content

IMonoParameterInfoMethods

Trait IMonoParameterInfoMethods 

Source
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§

Source

fn ctor(self, pinfo: impl Into<ParameterInfo>, member: impl Into<MemberInfo>)

.ctor(crate::system::reflection::parameterinfo::ParameterInfo, crate::system::reflection::memberinfo::MemberInfo) overload

Source

fn get_default_value(self) -> Object

get_DefaultValue() overload

Source

fn get_custom_attributes( self, attribute_type: impl Into<SystemType>, inherit: impl Into<bool>, ) -> Array<Object>

GetCustomAttributes(::unity::SystemType, bool) overload

Source

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§

Source§

impl<__T: IMonoParameterInfo> IMonoParameterInfoMethods for __T

Available on crate feature system-reflection-monoparameterinfo only.