pub unsafe trait NSViewContentSelectionInfo: NSObjectProtocol {
// Provided method
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§
fn selectionAnchorRect(&self) -> NSRect
Trait Implementations§
impl<T> ImplementedBy<T> for dyn NSViewContentSelectionInfo
Source§impl ProtocolType for dyn NSViewContentSelectionInfo
impl ProtocolType for dyn NSViewContentSelectionInfo
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".