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§
Sourceunsafe fn scriptingIsEqualTo(&self, object: &AnyObject) -> bool
unsafe fn scriptingIsEqualTo(&self, object: &AnyObject) -> bool
§Safety
object
should be of the correct type.
Sourceunsafe fn scriptingIsLessThanOrEqualTo(&self, object: &AnyObject) -> bool
unsafe fn scriptingIsLessThanOrEqualTo(&self, object: &AnyObject) -> bool
§Safety
object
should be of the correct type.
Sourceunsafe fn scriptingIsLessThan(&self, object: &AnyObject) -> bool
unsafe fn scriptingIsLessThan(&self, object: &AnyObject) -> bool
§Safety
object
should be of the correct type.
Sourceunsafe fn scriptingIsGreaterThanOrEqualTo(&self, object: &AnyObject) -> bool
unsafe fn scriptingIsGreaterThanOrEqualTo(&self, object: &AnyObject) -> bool
§Safety
object
should be of the correct type.
Sourceunsafe fn scriptingIsGreaterThan(&self, object: &AnyObject) -> bool
unsafe fn scriptingIsGreaterThan(&self, object: &AnyObject) -> bool
§Safety
object
should be of the correct type.
Sourceunsafe fn scriptingBeginsWith(&self, object: &AnyObject) -> bool
unsafe fn scriptingBeginsWith(&self, object: &AnyObject) -> bool
§Safety
object
should be of the correct type.
Sourceunsafe fn scriptingEndsWith(&self, object: &AnyObject) -> bool
unsafe fn scriptingEndsWith(&self, object: &AnyObject) -> bool
§Safety
object
should be of the correct type.
Sourceunsafe fn scriptingContains(&self, object: &AnyObject) -> bool
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.