[][src]Trait uikit_sys::INSMassFormatter

pub trait INSMassFormatter: Sized + Deref {
    unsafe fn stringFromValue_unit_(
        self,
        value: f64,
        unit: NSMassFormatterUnit
    ) -> NSString
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn stringFromKilograms_(self, numberInKilograms: f64) -> NSString
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn unitStringFromValue_unit_(
        self,
        value: f64,
        unit: NSMassFormatterUnit
    ) -> NSString
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn unitStringFromKilograms_usedUnit_(
        self,
        numberInKilograms: f64,
        unitp: *mut NSMassFormatterUnit
    ) -> NSString
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn getObjectValue_forString_errorDescription_(
        self,
        obj: *mut id,
        string: NSString,
        error: *mut NSString
    ) -> BOOL
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn numberFormatter(self) -> NSNumberFormatter
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setNumberFormatter_(self, numberFormatter: NSNumberFormatter)
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn unitStyle(self) -> NSFormattingUnitStyle
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setUnitStyle_(self, unitStyle: NSFormattingUnitStyle)
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn isForPersonMassUse(self) -> BOOL
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setForPersonMassUse_(self, forPersonMassUse: BOOL)
    where
        Self::Target: Message + Sized
, { ... } }

Provided methods

unsafe fn stringFromValue_unit_(
    self,
    value: f64,
    unit: NSMassFormatterUnit
) -> NSString where
    Self::Target: Message + Sized

unsafe fn stringFromKilograms_(self, numberInKilograms: f64) -> NSString where
    Self::Target: Message + Sized

unsafe fn unitStringFromValue_unit_(
    self,
    value: f64,
    unit: NSMassFormatterUnit
) -> NSString where
    Self::Target: Message + Sized

unsafe fn unitStringFromKilograms_usedUnit_(
    self,
    numberInKilograms: f64,
    unitp: *mut NSMassFormatterUnit
) -> NSString where
    Self::Target: Message + Sized

unsafe fn getObjectValue_forString_errorDescription_(
    self,
    obj: *mut id,
    string: NSString,
    error: *mut NSString
) -> BOOL where
    Self::Target: Message + Sized

unsafe fn numberFormatter(self) -> NSNumberFormatter where
    Self::Target: Message + Sized

unsafe fn setNumberFormatter_(self, numberFormatter: NSNumberFormatter) where
    Self::Target: Message + Sized

unsafe fn unitStyle(self) -> NSFormattingUnitStyle where
    Self::Target: Message + Sized

unsafe fn setUnitStyle_(self, unitStyle: NSFormattingUnitStyle) where
    Self::Target: Message + Sized

unsafe fn isForPersonMassUse(self) -> BOOL where
    Self::Target: Message + Sized

unsafe fn setForPersonMassUse_(self, forPersonMassUse: BOOL) where
    Self::Target: Message + Sized

Loading content...

Implementors

impl INSMassFormatter for NSMassFormatter[src]

Loading content...