Trait objc2_ui_kit::UISearchSuggestion
source · pub unsafe trait UISearchSuggestion: NSObjectProtocol + IsMainThreadOnly {
// Provided methods
unsafe fn localizedSuggestion(&self) -> Option<Retained<NSString>>
where Self: Sized + Message { ... }
unsafe fn localizedDescription(&self) -> Option<Retained<NSString>>
where Self: Sized + Message { ... }
unsafe fn iconImage(&self) -> Option<Retained<UIImage>>
where Self: Sized + Message { ... }
unsafe fn localizedAttributedSuggestion(
&self
) -> Option<Retained<NSAttributedString>>
where Self: Sized + Message { ... }
unsafe fn representedObject(&self) -> Option<Retained<AnyObject>>
where Self: Sized + Message { ... }
unsafe fn setRepresentedObject(
&self,
represented_object: Option<&AnyObject>
)
where Self: Sized + Message { ... }
}
Available on crate feature
UISearchSuggestion
only.Provided Methods§
unsafe fn localizedSuggestion(&self) -> Option<Retained<NSString>>
unsafe fn localizedDescription(&self) -> Option<Retained<NSString>>
unsafe fn iconImage(&self) -> Option<Retained<UIImage>>
Available on crate feature
UIImage
only.