Skip to main content

IICustomAttributeProviderMethods

Trait IICustomAttributeProviderMethods 

Source
pub trait IICustomAttributeProviderMethods: IICustomAttributeProvider {
    // Provided methods
    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 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: IICustomAttributeProvider> IICustomAttributeProviderMethods for __T

Available on crate feature system-reflection-icustomattributeprovider only.