#[repr(C)]pub struct dv_model_options {
pub model_name: *mut c_char,
pub priority: dv_model_priority_level_t,
pub cache: bool,
pub async_: bool,
pub model_type: dv_model_type_t,
}Fields§
§model_name: *mut c_char< model name
priority: dv_model_priority_level_t< priority of the model [unused]
cache: bool< if true, the model is cached on disk
async_: bool< if true, the model load API immediately return \see dv_model_load_wait_for_completion
model_type: dv_model_type_t< specify the model type, if not specified it will be DV_MODEL_TYPE_ARA2_CNN
Trait Implementations§
Source§impl Clone for dv_model_options
impl Clone for dv_model_options
Source§fn clone(&self) -> dv_model_options
fn clone(&self) -> dv_model_options
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for dv_model_options
impl Debug for dv_model_options
impl Copy for dv_model_options
Auto Trait Implementations§
impl Freeze for dv_model_options
impl RefUnwindSafe for dv_model_options
impl !Send for dv_model_options
impl !Sync for dv_model_options
impl Unpin for dv_model_options
impl UnsafeUnpin for dv_model_options
impl UnwindSafe for dv_model_options
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