[−][src]Trait uikit_sys::IUITraitCollection
Provided methods
unsafe fn init(self) -> instancetype where
Self::Target: Message + Sized,
Self::Target: Message + Sized,
unsafe fn initWithCoder_(self, coder: NSCoder) -> instancetype where
Self::Target: Message + Sized,
Self::Target: Message + Sized,
unsafe fn containsTraitsInCollection_(self, trait_: UITraitCollection) -> BOOL where
Self::Target: Message + Sized,
Self::Target: Message + Sized,
unsafe fn userInterfaceIdiom(self) -> UIUserInterfaceIdiom where
Self::Target: Message + Sized,
Self::Target: Message + Sized,
unsafe fn userInterfaceStyle(self) -> UIUserInterfaceStyle where
Self::Target: Message + Sized,
Self::Target: Message + Sized,
unsafe fn layoutDirection(self) -> UITraitEnvironmentLayoutDirection where
Self::Target: Message + Sized,
Self::Target: Message + Sized,
unsafe fn displayScale(self) -> CGFloat where
Self::Target: Message + Sized,
Self::Target: Message + Sized,
unsafe fn horizontalSizeClass(self) -> UIUserInterfaceSizeClass where
Self::Target: Message + Sized,
Self::Target: Message + Sized,
unsafe fn verticalSizeClass(self) -> UIUserInterfaceSizeClass where
Self::Target: Message + Sized,
Self::Target: Message + Sized,
unsafe fn forceTouchCapability(self) -> UIForceTouchCapability where
Self::Target: Message + Sized,
Self::Target: Message + Sized,
unsafe fn preferredContentSizeCategory(self) -> UIContentSizeCategory where
Self::Target: Message + Sized,
Self::Target: Message + Sized,
unsafe fn displayGamut(self) -> UIDisplayGamut where
Self::Target: Message + Sized,
Self::Target: Message + Sized,
unsafe fn accessibilityContrast(self) -> UIAccessibilityContrast where
Self::Target: Message + Sized,
Self::Target: Message + Sized,
unsafe fn userInterfaceLevel(self) -> UIUserInterfaceLevel where
Self::Target: Message + Sized,
Self::Target: Message + Sized,
unsafe fn legibilityWeight(self) -> UILegibilityWeight where
Self::Target: Message + Sized,
Self::Target: Message + Sized,
unsafe fn traitCollectionWithTraitsFromCollections_(
traitCollections: NSArray
) -> UITraitCollection where
Self::Target: Message + Sized,
traitCollections: NSArray
) -> UITraitCollection where
Self::Target: Message + Sized,
unsafe fn traitCollectionWithUserInterfaceIdiom_(
idiom: UIUserInterfaceIdiom
) -> UITraitCollection where
Self::Target: Message + Sized,
idiom: UIUserInterfaceIdiom
) -> UITraitCollection where
Self::Target: Message + Sized,
unsafe fn traitCollectionWithUserInterfaceStyle_(
userInterfaceStyle: UIUserInterfaceStyle
) -> UITraitCollection where
Self::Target: Message + Sized,
userInterfaceStyle: UIUserInterfaceStyle
) -> UITraitCollection where
Self::Target: Message + Sized,
unsafe fn traitCollectionWithLayoutDirection_(
layoutDirection: UITraitEnvironmentLayoutDirection
) -> UITraitCollection where
Self::Target: Message + Sized,
layoutDirection: UITraitEnvironmentLayoutDirection
) -> UITraitCollection where
Self::Target: Message + Sized,
unsafe fn traitCollectionWithDisplayScale_(scale: CGFloat) -> UITraitCollection where
Self::Target: Message + Sized,
Self::Target: Message + Sized,
unsafe fn traitCollectionWithHorizontalSizeClass_(
horizontalSizeClass: UIUserInterfaceSizeClass
) -> UITraitCollection where
Self::Target: Message + Sized,
horizontalSizeClass: UIUserInterfaceSizeClass
) -> UITraitCollection where
Self::Target: Message + Sized,
unsafe fn traitCollectionWithVerticalSizeClass_(
verticalSizeClass: UIUserInterfaceSizeClass
) -> UITraitCollection where
Self::Target: Message + Sized,
verticalSizeClass: UIUserInterfaceSizeClass
) -> UITraitCollection where
Self::Target: Message + Sized,
unsafe fn traitCollectionWithForceTouchCapability_(
capability: UIForceTouchCapability
) -> UITraitCollection where
Self::Target: Message + Sized,
capability: UIForceTouchCapability
) -> UITraitCollection where
Self::Target: Message + Sized,
unsafe fn traitCollectionWithPreferredContentSizeCategory_(
preferredContentSizeCategory: NSString
) -> UITraitCollection where
Self::Target: Message + Sized,
preferredContentSizeCategory: NSString
) -> UITraitCollection where
Self::Target: Message + Sized,
unsafe fn traitCollectionWithDisplayGamut_(
displayGamut: UIDisplayGamut
) -> UITraitCollection where
Self::Target: Message + Sized,
displayGamut: UIDisplayGamut
) -> UITraitCollection where
Self::Target: Message + Sized,
unsafe fn traitCollectionWithAccessibilityContrast_(
accessibilityContrast: UIAccessibilityContrast
) -> UITraitCollection where
Self::Target: Message + Sized,
accessibilityContrast: UIAccessibilityContrast
) -> UITraitCollection where
Self::Target: Message + Sized,
unsafe fn traitCollectionWithUserInterfaceLevel_(
userInterfaceLevel: UIUserInterfaceLevel
) -> UITraitCollection where
Self::Target: Message + Sized,
userInterfaceLevel: UIUserInterfaceLevel
) -> UITraitCollection where
Self::Target: Message + Sized,
unsafe fn traitCollectionWithLegibilityWeight_(
legibilityWeight: UILegibilityWeight
) -> UITraitCollection where
Self::Target: Message + Sized,
legibilityWeight: UILegibilityWeight
) -> UITraitCollection where
Self::Target: Message + Sized,