#[repr(C)]
pub enum Backend {
    DNN_BACKEND_DEFAULT,
    DNN_BACKEND_HALIDE,
    DNN_BACKEND_INFERENCE_ENGINE,
    DNN_BACKEND_OPENCV,
    DNN_BACKEND_VKCOM,
    DNN_BACKEND_CUDA,
    DNN_BACKEND_WEBNN,
    DNN_BACKEND_TIMVX,
}Expand description
Variants
DNN_BACKEND_DEFAULT
DNN_BACKEND_DEFAULT equals to DNN_BACKEND_INFERENCE_ENGINE if OpenCV is built with Intel’s Inference Engine library or DNN_BACKEND_OPENCV otherwise.
DNN_BACKEND_HALIDE
DNN_BACKEND_DEFAULT equals to DNN_BACKEND_INFERENCE_ENGINE if OpenCV is built with Intel’s Inference Engine library or DNN_BACKEND_OPENCV otherwise.
DNN_BACKEND_INFERENCE_ENGINE
DNN_BACKEND_OPENCV
DNN_BACKEND_VKCOM
DNN_BACKEND_CUDA
DNN_BACKEND_WEBNN
DNN_BACKEND_TIMVX
Trait Implementations
impl Copy for Backend
impl Eq for Backend
impl StructuralEq for Backend
impl StructuralPartialEq for Backend
Auto Trait Implementations
impl RefUnwindSafe for Backend
impl Send for Backend
impl Sync for Backend
impl Unpin for Backend
impl UnwindSafe for Backend
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
    T: ?Sized,
 
impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
 
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more