pub unsafe trait UINSIntegerTraitDefinition: UITraitDefinition + MainThreadOnly {
// Provided method
unsafe fn defaultValue(mtm: MainThreadMarker) -> NSInteger
where Self: Sized + ClassType { ... }
}
Available on crate feature
UITrait
only.Expand description
Provided Methods§
Sourceunsafe fn defaultValue(mtm: MainThreadMarker) -> NSInteger
unsafe 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 UITraitHorizontalSizeClass
impl UINSIntegerTraitDefinition for UITraitImageDynamicRange
impl UINSIntegerTraitDefinition for UITraitLayoutDirection
impl UINSIntegerTraitDefinition for UITraitLegibilityWeight
impl UINSIntegerTraitDefinition for UITraitListEnvironment
Available on crate feature
UITraitListEnvironment
only.