pub struct DataScannerViewController;Expand description
Wraps the VisionKit DataScannerViewController counterpart.
Implementations§
Source§impl DataScannerViewController
impl DataScannerViewController
Sourcepub fn support_info() -> Result<AreaSupportInfo, VisionKitError>
pub fn support_info() -> Result<AreaSupportInfo, VisionKitError>
Returns VisionKit availability metadata for this area.
Sourcepub fn is_available_on_current_platform() -> Result<bool, VisionKitError>
pub fn is_available_on_current_platform() -> Result<bool, VisionKitError>
Returns whether this VisionKit area is available on the current platform.
Sourcepub fn new() -> Result<Self, VisionKitError>
pub fn new() -> Result<Self, VisionKitError>
Creates the VisionKit DataScannerViewController wrapper.
Auto Trait Implementations§
impl Freeze for DataScannerViewController
impl RefUnwindSafe for DataScannerViewController
impl Send for DataScannerViewController
impl Sync for DataScannerViewController
impl Unpin for DataScannerViewController
impl UnsafeUnpin for DataScannerViewController
impl UnwindSafe for DataScannerViewController
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more