UINSIntegerTraitDefinition

Trait UINSIntegerTraitDefinition 

Source
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§

Source

unsafe fn defaultValue(mtm: MainThreadMarker) -> NSInteger
where Self: Sized + ClassType,

The default value for this trait in a trait collection when no value has been set.

Trait Implementations§

Source§

impl ProtocolType for dyn UINSIntegerTraitDefinition

Source§

const NAME: &'static str = "UINSIntegerTraitDefinition"

The name of the Objective-C protocol that this type represents. Read more
Source§

fn protocol() -> Option<&'static AnyProtocol>

Get a reference to the Objective-C protocol object that this type represents. Read more
Source§

impl<T> ImplementedBy<T> for dyn UINSIntegerTraitDefinition

Implementations on Foreign Types§

Source§

impl<T> UINSIntegerTraitDefinition for ProtocolObject<T>

Implementors§