[][src]Trait uikit_sys::INSEnergyFormatter

pub trait INSEnergyFormatter: Sized + Deref {
    unsafe fn stringFromValue_unit_(
        self,
        value: f64,
        unit: NSEnergyFormatterUnit
    ) -> NSString
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn stringFromJoules_(self, numberInJoules: f64) -> NSString
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn unitStringFromValue_unit_(
        self,
        value: f64,
        unit: NSEnergyFormatterUnit
    ) -> NSString
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn unitStringFromJoules_usedUnit_(
        self,
        numberInJoules: f64,
        unitp: *mut NSEnergyFormatterUnit
    ) -> 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 isForFoodEnergyUse(self) -> BOOL
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setForFoodEnergyUse_(self, forFoodEnergyUse: BOOL)
    where
        Self::Target: Message + Sized
, { ... } }

Provided methods

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

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

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

unsafe fn unitStringFromJoules_usedUnit_(
    self,
    numberInJoules: f64,
    unitp: *mut NSEnergyFormatterUnit
) -> 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 isForFoodEnergyUse(self) -> BOOL where
    Self::Target: Message + Sized

unsafe fn setForFoodEnergyUse_(self, forFoodEnergyUse: BOOL) where
    Self::Target: Message + Sized

Loading content...

Implementors

impl INSEnergyFormatter for NSEnergyFormatter[src]

Loading content...