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§
impl<T> ImplementedBy<T> for dyn NSTextLocation
Source§impl ProtocolType for dyn NSTextLocation
impl ProtocolType for dyn NSTextLocation
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".