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§
Sourceunsafe fn presentationAnchorForAccountAuthenticationModificationController(
&self,
controller: &ASAccountAuthenticationModificationController,
) -> Retained<ASPresentationAnchor>
Available on macOS and crate feature ASFoundation only.
unsafe fn presentationAnchorForAccountAuthenticationModificationController( &self, controller: &ASAccountAuthenticationModificationController, ) -> Retained<ASPresentationAnchor>
ASFoundation only.Return a view anchor that is most appropriate for authorization UI to be presented over.
Trait Implementations§
impl<T> ImplementedBy<T> for dyn ASAccountAuthenticationModificationControllerPresentationContextProviding
Source§impl ProtocolType for dyn ASAccountAuthenticationModificationControllerPresentationContextProviding
impl ProtocolType for dyn ASAccountAuthenticationModificationControllerPresentationContextProviding
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".