Skip to main content

ASAccountAuthenticationModificationControllerPresentationContextProviding

Trait ASAccountAuthenticationModificationControllerPresentationContextProviding 

Source
pub unsafe trait ASAccountAuthenticationModificationControllerPresentationContextProviding: NSObjectProtocol + MainThreadOnly {
    // Provided method
    unsafe fn presentationAnchorForAccountAuthenticationModificationController(
        &self,
        controller: &ASAccountAuthenticationModificationController,
    ) -> Retained<ASPresentationAnchor>
       where Self: Sized + Message { ... }
}
Available on crate feature ASAccountAuthenticationModificationController only.
Expand description

Provided Methods§

Source

unsafe fn presentationAnchorForAccountAuthenticationModificationController( &self, controller: &ASAccountAuthenticationModificationController, ) -> Retained<ASPresentationAnchor>
where Self: Sized + Message,

Available on macOS and crate feature ASFoundation only.

Return a view anchor that is most appropriate for authorization UI to be presented over.

Trait Implementations§

Source§

impl<T> ImplementedBy<T> for dyn ASAccountAuthenticationModificationControllerPresentationContextProviding

Source§

impl ProtocolType for dyn ASAccountAuthenticationModificationControllerPresentationContextProviding

Source§

const NAME: &'static str = "ASAccountAuthenticationModificationControllerPresentationContextProviding"

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

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl<T> ASAccountAuthenticationModificationControllerPresentationContextProviding for ProtocolObject<T>

Implementors§