Trait objc2_ui_kit::UIShapeProvider

source ·
pub unsafe trait UIShapeProvider: NSObjectProtocol {
    // Provided method
    unsafe fn resolvedShapeInContext(
        &self,
        context: &UIShapeResolutionContext
    ) -> Retained<UIResolvedShape>
       where Self: Sized + Message { ... }
}
Available on crate feature UIShape only.

Provided Methods§

Trait Implementations§

source§

impl ProtocolType for dyn UIShapeProvider

source§

const NAME: &'static str = "UIShapeProvider"

The name of the Objective-C protocol that this type represents.
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 UIShapeProvider

Implementations on Foreign Types§

source§

impl<T> UIShapeProvider for ProtocolObject<T>
where T: ?Sized + UIShapeProvider,

Implementors§