pub unsafe trait UINSIntegerTraitDefinition: UITraitDefinition + MainThreadOnly {
// Provided method
fn defaultValue(mtm: MainThreadMarker) -> NSInteger
where Self: Sized + ClassType { ... }
}Available on crate feature
UITrait only.Expand description
Provided Methods§
Sourcefn defaultValue(mtm: MainThreadMarker) -> NSInteger
fn defaultValue(mtm: MainThreadMarker) -> NSInteger
The default value for this trait in a trait collection when no value has been set.
Trait Implementations§
Source§impl ProtocolType for dyn UINSIntegerTraitDefinition
impl ProtocolType for dyn UINSIntegerTraitDefinition
impl<T> ImplementedBy<T> for dyn UINSIntegerTraitDefinition
Implementations on Foreign Types§
impl<T> UINSIntegerTraitDefinition for ProtocolObject<T>where
T: ?Sized + UINSIntegerTraitDefinition,
Implementors§
impl UINSIntegerTraitDefinition for UITraitAccessibilityContrast
impl UINSIntegerTraitDefinition for UITraitActiveAppearance
impl UINSIntegerTraitDefinition for UITraitDisplayGamut
impl UINSIntegerTraitDefinition for UITraitForceTouchCapability
impl UINSIntegerTraitDefinition for UITraitHDRHeadroomUsageLimit
impl UINSIntegerTraitDefinition for UITraitHorizontalSizeClass
impl UINSIntegerTraitDefinition for UITraitImageDynamicRange
impl UINSIntegerTraitDefinition for UITraitLayoutDirection
impl UINSIntegerTraitDefinition for UITraitLegibilityWeight
impl UINSIntegerTraitDefinition for UITraitListEnvironment
Available on crate feature
UITraitListEnvironment only.impl UINSIntegerTraitDefinition for UITraitSceneCaptureState
impl UINSIntegerTraitDefinition for UITraitSplitViewControllerLayoutEnvironment
Available on crate feature
UISplitViewControllerLayoutEnvironment only.impl UINSIntegerTraitDefinition for UITraitTabAccessoryEnvironment
Available on crate feature
UITabAccessory only.