[][src]Trait uikit_sys::INSLengthFormatter

pub trait INSLengthFormatter: Sized + Deref {
    unsafe fn stringFromValue_unit_(
        self,
        value: f64,
        unit: NSLengthFormatterUnit
    ) -> NSString
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn stringFromMeters_(self, numberInMeters: f64) -> NSString
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn unitStringFromValue_unit_(
        self,
        value: f64,
        unit: NSLengthFormatterUnit
    ) -> NSString
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn unitStringFromMeters_usedUnit_(
        self,
        numberInMeters: f64,
        unitp: *mut NSLengthFormatterUnit
    ) -> 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 isForPersonHeightUse(self) -> BOOL
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setForPersonHeightUse_(self, forPersonHeightUse: BOOL)
    where
        Self::Target: Message + Sized
, { ... } }

Provided methods

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

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

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

unsafe fn unitStringFromMeters_usedUnit_(
    self,
    numberInMeters: f64,
    unitp: *mut NSLengthFormatterUnit
) -> 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 isForPersonHeightUse(self) -> BOOL where
    Self::Target: Message + Sized

unsafe fn setForPersonHeightUse_(self, forPersonHeightUse: BOOL) where
    Self::Target: Message + Sized

Loading content...

Implementors

impl INSLengthFormatter for NSLengthFormatter[src]

Loading content...