[][src]Trait uikit_sys::INSDecimalNumber

pub trait INSDecimalNumber: Sized + Deref {
    unsafe fn initWithMantissa_exponent_isNegative_(
        self,
        mantissa: c_ulonglong,
        exponent: c_short,
        flag: BOOL
    ) -> instancetype
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn initWithDecimal_(self, dcm: NSDecimal) -> instancetype
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn initWithString_(self, numberValue: NSString) -> instancetype
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn initWithString_locale_(
        self,
        numberValue: NSString,
        locale: id
    ) -> instancetype
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn descriptionWithLocale_(self, locale: id) -> NSString
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn decimalNumberByAdding_(
        self,
        decimalNumber: NSDecimalNumber
    ) -> NSDecimalNumber
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn decimalNumberByAdding_withBehavior_(
        self,
        decimalNumber: NSDecimalNumber,
        behavior: *mut u64
    ) -> NSDecimalNumber
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn decimalNumberBySubtracting_(
        self,
        decimalNumber: NSDecimalNumber
    ) -> NSDecimalNumber
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn decimalNumberBySubtracting_withBehavior_(
        self,
        decimalNumber: NSDecimalNumber,
        behavior: *mut u64
    ) -> NSDecimalNumber
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn decimalNumberByMultiplyingBy_(
        self,
        decimalNumber: NSDecimalNumber
    ) -> NSDecimalNumber
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn decimalNumberByMultiplyingBy_withBehavior_(
        self,
        decimalNumber: NSDecimalNumber,
        behavior: *mut u64
    ) -> NSDecimalNumber
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn decimalNumberByDividingBy_(
        self,
        decimalNumber: NSDecimalNumber
    ) -> NSDecimalNumber
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn decimalNumberByDividingBy_withBehavior_(
        self,
        decimalNumber: NSDecimalNumber,
        behavior: *mut u64
    ) -> NSDecimalNumber
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn decimalNumberByRaisingToPower_(
        self,
        power: NSUInteger
    ) -> NSDecimalNumber
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn decimalNumberByRaisingToPower_withBehavior_(
        self,
        power: NSUInteger,
        behavior: *mut u64
    ) -> NSDecimalNumber
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn decimalNumberByMultiplyingByPowerOf10_(
        self,
        power: c_short
    ) -> NSDecimalNumber
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn decimalNumberByMultiplyingByPowerOf10_withBehavior_(
        self,
        power: c_short,
        behavior: *mut u64
    ) -> NSDecimalNumber
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn decimalNumberByRoundingAccordingToBehavior_(
        self,
        behavior: *mut u64
    ) -> NSDecimalNumber
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn compare_(self, decimalNumber: NSNumber) -> NSComparisonResult
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn decimalValue(self) -> NSDecimal
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn objCType(self) -> *const c_char
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn doubleValue(self) -> f64
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn decimalNumberWithMantissa_exponent_isNegative_(
        mantissa: c_ulonglong,
        exponent: c_short,
        flag: BOOL
    ) -> NSDecimalNumber
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn decimalNumberWithDecimal_(dcm: NSDecimal) -> NSDecimalNumber
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn decimalNumberWithString_(numberValue: NSString) -> NSDecimalNumber
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn decimalNumberWithString_locale_(
        numberValue: NSString,
        locale: id
    ) -> NSDecimalNumber
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn zero() -> NSDecimalNumber
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn one() -> NSDecimalNumber
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn minimumDecimalNumber() -> NSDecimalNumber
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn maximumDecimalNumber() -> NSDecimalNumber
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn notANumber() -> NSDecimalNumber
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn defaultBehavior() -> *mut u64
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setDefaultBehavior_(defaultBehavior: *mut u64)
    where
        Self::Target: Message + Sized
, { ... } }

Provided methods

unsafe fn initWithMantissa_exponent_isNegative_(
    self,
    mantissa: c_ulonglong,
    exponent: c_short,
    flag: BOOL
) -> instancetype where
    Self::Target: Message + Sized

unsafe fn initWithDecimal_(self, dcm: NSDecimal) -> instancetype where
    Self::Target: Message + Sized

unsafe fn initWithString_(self, numberValue: NSString) -> instancetype where
    Self::Target: Message + Sized

unsafe fn initWithString_locale_(
    self,
    numberValue: NSString,
    locale: id
) -> instancetype where
    Self::Target: Message + Sized

unsafe fn descriptionWithLocale_(self, locale: id) -> NSString where
    Self::Target: Message + Sized

unsafe fn decimalNumberByAdding_(
    self,
    decimalNumber: NSDecimalNumber
) -> NSDecimalNumber where
    Self::Target: Message + Sized

unsafe fn decimalNumberByAdding_withBehavior_(
    self,
    decimalNumber: NSDecimalNumber,
    behavior: *mut u64
) -> NSDecimalNumber where
    Self::Target: Message + Sized

unsafe fn decimalNumberBySubtracting_(
    self,
    decimalNumber: NSDecimalNumber
) -> NSDecimalNumber where
    Self::Target: Message + Sized

unsafe fn decimalNumberBySubtracting_withBehavior_(
    self,
    decimalNumber: NSDecimalNumber,
    behavior: *mut u64
) -> NSDecimalNumber where
    Self::Target: Message + Sized

unsafe fn decimalNumberByMultiplyingBy_(
    self,
    decimalNumber: NSDecimalNumber
) -> NSDecimalNumber where
    Self::Target: Message + Sized

unsafe fn decimalNumberByMultiplyingBy_withBehavior_(
    self,
    decimalNumber: NSDecimalNumber,
    behavior: *mut u64
) -> NSDecimalNumber where
    Self::Target: Message + Sized

unsafe fn decimalNumberByDividingBy_(
    self,
    decimalNumber: NSDecimalNumber
) -> NSDecimalNumber where
    Self::Target: Message + Sized

unsafe fn decimalNumberByDividingBy_withBehavior_(
    self,
    decimalNumber: NSDecimalNumber,
    behavior: *mut u64
) -> NSDecimalNumber where
    Self::Target: Message + Sized

unsafe fn decimalNumberByRaisingToPower_(
    self,
    power: NSUInteger
) -> NSDecimalNumber where
    Self::Target: Message + Sized

unsafe fn decimalNumberByRaisingToPower_withBehavior_(
    self,
    power: NSUInteger,
    behavior: *mut u64
) -> NSDecimalNumber where
    Self::Target: Message + Sized

unsafe fn decimalNumberByMultiplyingByPowerOf10_(
    self,
    power: c_short
) -> NSDecimalNumber where
    Self::Target: Message + Sized

unsafe fn decimalNumberByMultiplyingByPowerOf10_withBehavior_(
    self,
    power: c_short,
    behavior: *mut u64
) -> NSDecimalNumber where
    Self::Target: Message + Sized

unsafe fn decimalNumberByRoundingAccordingToBehavior_(
    self,
    behavior: *mut u64
) -> NSDecimalNumber where
    Self::Target: Message + Sized

unsafe fn compare_(self, decimalNumber: NSNumber) -> NSComparisonResult where
    Self::Target: Message + Sized

unsafe fn decimalValue(self) -> NSDecimal where
    Self::Target: Message + Sized

unsafe fn objCType(self) -> *const c_char where
    Self::Target: Message + Sized

unsafe fn doubleValue(self) -> f64 where
    Self::Target: Message + Sized

unsafe fn decimalNumberWithMantissa_exponent_isNegative_(
    mantissa: c_ulonglong,
    exponent: c_short,
    flag: BOOL
) -> NSDecimalNumber where
    Self::Target: Message + Sized

unsafe fn decimalNumberWithDecimal_(dcm: NSDecimal) -> NSDecimalNumber where
    Self::Target: Message + Sized

unsafe fn decimalNumberWithString_(numberValue: NSString) -> NSDecimalNumber where
    Self::Target: Message + Sized

unsafe fn decimalNumberWithString_locale_(
    numberValue: NSString,
    locale: id
) -> NSDecimalNumber where
    Self::Target: Message + Sized

unsafe fn zero() -> NSDecimalNumber where
    Self::Target: Message + Sized

unsafe fn one() -> NSDecimalNumber where
    Self::Target: Message + Sized

unsafe fn minimumDecimalNumber() -> NSDecimalNumber where
    Self::Target: Message + Sized

unsafe fn maximumDecimalNumber() -> NSDecimalNumber where
    Self::Target: Message + Sized

unsafe fn notANumber() -> NSDecimalNumber where
    Self::Target: Message + Sized

unsafe fn defaultBehavior() -> *mut u64 where
    Self::Target: Message + Sized

unsafe fn setDefaultBehavior_(defaultBehavior: *mut u64) where
    Self::Target: Message + Sized

Loading content...

Implementors

impl INSDecimalNumber for NSDecimalNumber[src]

Loading content...