[][src]Trait uikit_sys::INSMeasurement

pub trait INSMeasurement<UnitType>: Sized + Deref {
    unsafe fn init(self) -> instancetype
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn initWithDoubleValue_unit_(
        self,
        doubleValue: f64,
        unit: u64
    ) -> instancetype
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn canBeConvertedToUnit_(self, unit: NSUnit) -> BOOL
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn measurementByConvertingToUnit_(
        self,
        unit: NSUnit
    ) -> NSMeasurement
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn measurementByAddingMeasurement_(
        self,
        measurement: NSMeasurement
    ) -> NSMeasurement
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn measurementBySubtractingMeasurement_(
        self,
        measurement: NSMeasurement
    ) -> NSMeasurement
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn unit(self) -> u64
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn doubleValue(self) -> f64
    where
        Self::Target: Message + Sized
, { ... } }

Provided methods

unsafe fn init(self) -> instancetype where
    Self::Target: Message + Sized

unsafe fn initWithDoubleValue_unit_(
    self,
    doubleValue: f64,
    unit: u64
) -> instancetype where
    Self::Target: Message + Sized

unsafe fn canBeConvertedToUnit_(self, unit: NSUnit) -> BOOL where
    Self::Target: Message + Sized

unsafe fn measurementByConvertingToUnit_(self, unit: NSUnit) -> NSMeasurement where
    Self::Target: Message + Sized

unsafe fn measurementByAddingMeasurement_(
    self,
    measurement: NSMeasurement
) -> NSMeasurement where
    Self::Target: Message + Sized

unsafe fn measurementBySubtractingMeasurement_(
    self,
    measurement: NSMeasurement
) -> NSMeasurement where
    Self::Target: Message + Sized

unsafe fn unit(self) -> u64 where
    Self::Target: Message + Sized

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

Loading content...

Implementors

impl<UnitType: 'static> INSMeasurement<UnitType> for NSMeasurement[src]

Loading content...