pub unsafe trait UIGuidedAccessRestrictionDelegate: NSObjectProtocol + MainThreadOnly {
// Provided methods
fn guidedAccessRestrictionIdentifiers(
&self,
) -> Option<Retained<NSArray<NSString>>>
where Self: Sized + Message { ... }
fn guidedAccessRestrictionWithIdentifier_didChangeState(
&self,
restriction_identifier: &NSString,
new_restriction_state: UIGuidedAccessRestrictionState,
)
where Self: Sized + Message { ... }
fn textForGuidedAccessRestrictionWithIdentifier(
&self,
restriction_identifier: &NSString,
) -> Option<Retained<NSString>>
where Self: Sized + Message { ... }
fn detailTextForGuidedAccessRestrictionWithIdentifier(
&self,
restriction_identifier: &NSString,
) -> Option<Retained<NSString>>
where Self: Sized + Message { ... }
}Available on crate feature
UIGuidedAccess only.Expand description
Provided Methods§
fn guidedAccessRestrictionIdentifiers( &self, ) -> Option<Retained<NSArray<NSString>>>
fn guidedAccessRestrictionWithIdentifier_didChangeState( &self, restriction_identifier: &NSString, new_restriction_state: UIGuidedAccessRestrictionState, )
fn textForGuidedAccessRestrictionWithIdentifier( &self, restriction_identifier: &NSString, ) -> Option<Retained<NSString>>
fn detailTextForGuidedAccessRestrictionWithIdentifier( &self, restriction_identifier: &NSString, ) -> Option<Retained<NSString>>
Trait Implementations§
impl<T> ImplementedBy<T> for dyn UIGuidedAccessRestrictionDelegate
Source§impl ProtocolType for dyn UIGuidedAccessRestrictionDelegate
impl ProtocolType for dyn UIGuidedAccessRestrictionDelegate
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".