pub unsafe trait NSDecimalNumberBehaviors {
// Provided methods
unsafe fn roundingMode(&self) -> NSRoundingMode
where Self: Sized + Message { ... }
unsafe fn scale(&self) -> c_short
where Self: Sized + Message { ... }
unsafe fn exceptionDuringOperation_error_leftOperand_rightOperand(
&self,
operation: Sel,
error: NSCalculationError,
left_operand: &NSDecimalNumber,
right_operand: Option<&NSDecimalNumber>
) -> Option<Retained<NSDecimalNumber>>
where Self: Sized + Message { ... }
}
Available on crate feature
NSDecimalNumber
only.Provided Methods§
unsafe fn roundingMode(&self) -> NSRoundingMode
Available on crate feature
NSDecimal
only.unsafe fn scale(&self) -> c_short
unsafe fn exceptionDuringOperation_error_leftOperand_rightOperand( &self, operation: Sel, error: NSCalculationError, left_operand: &NSDecimalNumber, right_operand: Option<&NSDecimalNumber> ) -> Option<Retained<NSDecimalNumber>>
Available on crate features
NSDecimal
and NSValue
only.