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