Skip to main content

IMemberFilterMethods

Trait IMemberFilterMethods 

Source
pub trait IMemberFilterMethods: IMemberFilter {
    // Provided methods
    fn ctor(self, object: impl Into<Object>, method: impl Into<IntPtr>) { ... }
    fn invoke(
        self,
        m: impl Into<MemberInfo>,
        filter_criteria: impl Into<Object>,
    ) -> bool { ... }
}

Provided Methods§

Source

fn ctor(self, object: impl Into<Object>, method: impl Into<IntPtr>)

.ctor(crate::system::object::Object, ::unity::IntPtr) overload

Source

fn invoke( self, m: impl Into<MemberInfo>, filter_criteria: impl Into<Object>, ) -> bool

Invoke(crate::system::reflection::memberinfo::MemberInfo, crate::system::object::Object) 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: IMemberFilter> IMemberFilterMethods for __T

Available on crate feature system-reflection-memberfilter only.