UICGFloatTraitDefinition

Trait UICGFloatTraitDefinition 

Source
pub unsafe trait UICGFloatTraitDefinition: UITraitDefinition + MainThreadOnly {
    // Provided method
    fn defaultValue(mtm: MainThreadMarker) -> CGFloat
       where Self: Sized + ClassType { ... }
}
Available on crate feature UITrait only.
Expand description

Provided Methods§

Source

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

Available on crate feature objc2-core-foundation only.

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

Trait Implementations§

Source§

impl ProtocolType for dyn UICGFloatTraitDefinition

Source§

const NAME: &'static str = "UICGFloatTraitDefinition"

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 UICGFloatTraitDefinition

Implementations on Foreign Types§

Source§

impl<T> UICGFloatTraitDefinition for ProtocolObject<T>

Implementors§