NSObjectNSScriptingComparisonMethods

Trait NSObjectNSScriptingComparisonMethods 

Source
pub unsafe trait NSObjectNSScriptingComparisonMethods:
    ClassType
    + Sized
    + Sealed {
    // Provided methods
    unsafe fn scriptingIsEqualTo(&self, object: &AnyObject) -> bool { ... }
    unsafe fn scriptingIsLessThanOrEqualTo(&self, object: &AnyObject) -> bool { ... }
    unsafe fn scriptingIsLessThan(&self, object: &AnyObject) -> bool { ... }
    unsafe fn scriptingIsGreaterThanOrEqualTo(&self, object: &AnyObject) -> bool { ... }
    unsafe fn scriptingIsGreaterThan(&self, object: &AnyObject) -> bool { ... }
    unsafe fn scriptingBeginsWith(&self, object: &AnyObject) -> bool { ... }
    unsafe fn scriptingEndsWith(&self, object: &AnyObject) -> bool { ... }
    unsafe fn scriptingContains(&self, object: &AnyObject) -> bool { ... }
}
Available on crate feature NSScriptWhoseTests only.
Expand description

Category “NSScriptingComparisonMethods” on NSObject.

Provided Methods§

Source

unsafe fn scriptingIsEqualTo(&self, object: &AnyObject) -> bool

§Safety

object should be of the correct type.

Source

unsafe fn scriptingIsLessThanOrEqualTo(&self, object: &AnyObject) -> bool

§Safety

object should be of the correct type.

Source

unsafe fn scriptingIsLessThan(&self, object: &AnyObject) -> bool

§Safety

object should be of the correct type.

Source

unsafe fn scriptingIsGreaterThanOrEqualTo(&self, object: &AnyObject) -> bool

§Safety

object should be of the correct type.

Source

unsafe fn scriptingIsGreaterThan(&self, object: &AnyObject) -> bool

§Safety

object should be of the correct type.

Source

unsafe fn scriptingBeginsWith(&self, object: &AnyObject) -> bool

§Safety

object should be of the correct type.

Source

unsafe fn scriptingEndsWith(&self, object: &AnyObject) -> bool

§Safety

object should be of the correct type.

Source

unsafe fn scriptingContains(&self, object: &AnyObject) -> bool

§Safety

object should be of the correct type.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§