pub struct ImageAnalysis { /* private fields */ }Expand description
Wraps the VisionKit ImageAnalysis counterpart.
Implementations§
Source§impl ImageAnalysis
impl ImageAnalysis
Sourcepub fn transcript(&self) -> Result<String, VisionKitError>
pub fn transcript(&self) -> Result<String, VisionKitError>
Returns the transcript generated by VisionKit.
Sourcepub fn has_results(
&self,
analysis_types: ImageAnalysisTypes,
) -> Result<bool, VisionKitError>
pub fn has_results( &self, analysis_types: ImageAnalysisTypes, ) -> Result<bool, VisionKitError>
Returns whether VisionKit found results for the requested analysis types.
Trait Implementations§
Source§impl Drop for ImageAnalysis
impl Drop for ImageAnalysis
Auto Trait Implementations§
impl Freeze for ImageAnalysis
impl RefUnwindSafe for ImageAnalysis
impl !Send for ImageAnalysis
impl !Sync for ImageAnalysis
impl Unpin for ImageAnalysis
impl UnsafeUnpin for ImageAnalysis
impl UnwindSafe for ImageAnalysis
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