pub unsafe trait NSUserActivityCIBarcodeDescriptor:
ClassType
+ Sized
+ Sealed {
// Provided method
unsafe fn detectedBarcodeDescriptor(
&self,
) -> Option<Retained<CIBarcodeDescriptor>> { ... }
}Available on crate feature
CIBarcodeDescriptor only.Expand description
Category “CIBarcodeDescriptor” on NSUserActivity.
Provided Methods§
Sourceunsafe fn detectedBarcodeDescriptor(
&self,
) -> Option<Retained<CIBarcodeDescriptor>>
unsafe fn detectedBarcodeDescriptor( &self, ) -> Option<Retained<CIBarcodeDescriptor>>
The scanned code in the user activity passed in by system scanner.
This property is optional. This value is present if the user activity was created from a source that detected a QR code or other code symbol.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.