pub struct VNDocumentCameraViewController;Expand description
Availability metadata for the iOS-only VNDocumentCameraViewController; it is not wrapped on macOS.
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>
Always returns VisionKitError::UnavailableOnThisPlatform on macOS.
Auto Trait Implementations§
impl Forget for VNDocumentCameraViewController
impl Freeze for VNDocumentCameraViewController
impl Move 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