pub struct VNDocumentCameraViewController;Expand description
Wraps the VisionKit VNDocumentCameraViewController counterpart.
Implementations§
Source§impl VNDocumentCameraViewController
impl VNDocumentCameraViewController
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 VNDocumentCameraViewController wrapper.
Auto Trait Implementations§
impl Freeze for VNDocumentCameraViewController
impl RefUnwindSafe for VNDocumentCameraViewController
impl Send for VNDocumentCameraViewController
impl Sync for VNDocumentCameraViewController
impl Unpin for VNDocumentCameraViewController
impl UnsafeUnpin for VNDocumentCameraViewController
impl UnwindSafe for VNDocumentCameraViewController
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