pub unsafe trait NSMetadataQueryDelegate: NSObjectProtocol {
// Provided methods
unsafe fn metadataQuery_replacementObjectForResultObject(
&self,
query: &NSMetadataQuery,
result: &NSMetadataItem
) -> Retained<AnyObject>
where Self: Sized + Message { ... }
unsafe fn metadataQuery_replacementValueForAttribute_value(
&self,
query: &NSMetadataQuery,
attr_name: &NSString,
attr_value: &AnyObject
) -> Retained<AnyObject>
where Self: Sized + Message { ... }
}
Available on crate feature
NSMetadata
only.Provided Methods§
unsafe fn metadataQuery_replacementObjectForResultObject( &self, query: &NSMetadataQuery, result: &NSMetadataItem ) -> Retained<AnyObject>
unsafe fn metadataQuery_replacementValueForAttribute_value( &self, query: &NSMetadataQuery, attr_name: &NSString, attr_value: &AnyObject ) -> Retained<AnyObject>
Available on crate feature
NSString
only.