pub unsafe trait NSObjectNSComparisonMethods: ClassType {
// Provided methods
unsafe fn isEqualTo(&self, object: Option<&AnyObject>) -> bool
where Self: Sized + Message { ... }
unsafe fn isLessThanOrEqualTo(&self, object: Option<&AnyObject>) -> bool
where Self: Sized + Message { ... }
unsafe fn isLessThan(&self, object: Option<&AnyObject>) -> bool
where Self: Sized + Message { ... }
unsafe fn isGreaterThanOrEqualTo(&self, object: Option<&AnyObject>) -> bool
where Self: Sized + Message { ... }
unsafe fn isGreaterThan(&self, object: Option<&AnyObject>) -> bool
where Self: Sized + Message { ... }
unsafe fn isNotEqualTo(&self, object: Option<&AnyObject>) -> bool
where Self: Sized + Message { ... }
unsafe fn doesContain(&self, object: &AnyObject) -> bool
where Self: Sized + Message { ... }
unsafe fn isLike(&self, object: &NSString) -> bool
where Self: Sized + Message { ... }
unsafe fn isCaseInsensitiveLike(&self, object: &NSString) -> bool
where Self: Sized + Message { ... }
}
Available on crate feature
NSScriptWhoseTests
only.Expand description
Category “NSComparisonMethods” on NSObject
.
Provided Methods§
unsafe fn isEqualTo(&self, object: Option<&AnyObject>) -> bool
unsafe fn isLessThanOrEqualTo(&self, object: Option<&AnyObject>) -> bool
unsafe fn isLessThan(&self, object: Option<&AnyObject>) -> bool
unsafe fn isGreaterThanOrEqualTo(&self, object: Option<&AnyObject>) -> bool
unsafe fn isGreaterThan(&self, object: Option<&AnyObject>) -> bool
unsafe fn isNotEqualTo(&self, object: Option<&AnyObject>) -> bool
unsafe fn doesContain(&self, object: &AnyObject) -> bool
unsafe fn isLike(&self, object: &NSString) -> bool
Available on crate feature
NSString
only.unsafe fn isCaseInsensitiveLike(&self, object: &NSString) -> bool
Available on crate feature
NSString
only.Object Safety§
This trait is not object safe.