SWHighlightEvent

Trait SWHighlightEvent 

Source
pub unsafe trait SWHighlightEvent:
    NSObjectProtocol
    + NSSecureCoding
    + NSCopying {
    // Provided method
    unsafe fn highlightURL(&self) -> Retained<NSURL>
       where Self: Sized + Message { ... }
}
Available on crate feature SWHighlightEvent only.
Expand description

A protocol defining an activity that can be posted in response to a user action on some content.

See also Apple’s documentation

Provided Methods§

Source

unsafe fn highlightURL(&self) -> Retained<NSURL>
where Self: Sized + Message,

Trait Implementations§

Source§

impl ProtocolType for dyn SWHighlightEvent

Source§

const NAME: &'static str = "SWHighlightEvent"

The name of the Objective-C protocol that this type represents. Read more
Source§

fn protocol() -> Option<&'static AnyProtocol>

Get a reference to the Objective-C protocol object that this type represents. Read more
Source§

impl<T> ImplementedBy<T> for dyn SWHighlightEvent

Implementations on Foreign Types§

Source§

impl<T> SWHighlightEvent for ProtocolObject<T>
where T: ?Sized + SWHighlightEvent,

Implementors§

Source§

impl SWHighlightEvent for SWHighlightChangeEvent

Available on crate feature SWHighlightChangeEvent only.
Source§

impl SWHighlightEvent for SWHighlightMembershipEvent

Available on crate feature SWHighlightMembershipEvent only.
Source§

impl SWHighlightEvent for SWHighlightMentionEvent

Available on crate feature SWHighlightMentionEvent only.
Source§

impl SWHighlightEvent for SWHighlightPersistenceEvent

Available on crate feature SWHighlightPersistenceEvent only.