Trait NSViewContentSelectionInfo

Source
pub unsafe trait NSViewContentSelectionInfo: NSObjectProtocol {
    // Provided method
    unsafe fn selectionAnchorRect(&self) -> NSRect
       where Self: Sized + Message { ... }
}
Available on crate feature NSView only.
Expand description

A protocol to request information from NSView subclasses about the selected content in the view.

See also Apple’s documentation

Provided Methods§

Source

unsafe fn selectionAnchorRect(&self) -> NSRect
where Self: Sized + Message,

Trait Implementations§

Source§

impl ProtocolType for dyn NSViewContentSelectionInfo

Source§

const NAME: &'static str = "NSViewContentSelectionInfo"

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 NSViewContentSelectionInfo

Implementations on Foreign Types§

Source§

impl<T> NSViewContentSelectionInfo for ProtocolObject<T>

Implementors§