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§

source

unsafe fn isEqualTo(&self, object: Option<&AnyObject>) -> bool
where Self: Sized + Message,

source

unsafe fn isLessThanOrEqualTo(&self, object: Option<&AnyObject>) -> bool
where Self: Sized + Message,

source

unsafe fn isLessThan(&self, object: Option<&AnyObject>) -> bool
where Self: Sized + Message,

source

unsafe fn isGreaterThanOrEqualTo(&self, object: Option<&AnyObject>) -> bool
where Self: Sized + Message,

source

unsafe fn isGreaterThan(&self, object: Option<&AnyObject>) -> bool
where Self: Sized + Message,

source

unsafe fn isNotEqualTo(&self, object: Option<&AnyObject>) -> bool
where Self: Sized + Message,

source

unsafe fn doesContain(&self, object: &AnyObject) -> bool
where Self: Sized + Message,

source

unsafe fn isLike(&self, object: &NSString) -> bool
where Self: Sized + Message,

Available on crate feature NSString only.
source

unsafe fn isCaseInsensitiveLike(&self, object: &NSString) -> bool
where Self: Sized + Message,

Available on crate feature NSString only.

Object Safety§

This trait is not object safe.

Implementors§