pub unsafe trait NSTextLocation: NSObjectProtocol {
// Provided method
fn compare(
&self,
location: &ProtocolObject<dyn NSTextLocation>,
) -> NSComparisonResult
where Self: Sized + Message { ... }
}Available on crate feature
NSTextRange only.Expand description
Provided Methods§
fn compare( &self, location: &ProtocolObject<dyn NSTextLocation>, ) -> NSComparisonResult
Trait Implementations§
Source§impl ProtocolType for dyn NSTextLocation
impl ProtocolType for dyn NSTextLocation
impl<T> ImplementedBy<T> for dyn NSTextLocation
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".