pub struct DelegateOptions { /* private fields */ }Expand description
Key-value options for configuring an external delegate.
§Examples
use edgefirst_tflite::DelegateOptions;
let opts = DelegateOptions::new()
.option("cache_file_path", "/tmp/vx_cache")
.option("device_id", "0");Implementations§
Trait Implementations§
Source§impl Clone for DelegateOptions
impl Clone for DelegateOptions
Source§fn clone(&self) -> DelegateOptions
fn clone(&self) -> DelegateOptions
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 DelegateOptions
impl Debug for DelegateOptions
Source§impl Default for DelegateOptions
impl Default for DelegateOptions
Source§fn default() -> DelegateOptions
fn default() -> DelegateOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DelegateOptions
impl RefUnwindSafe for DelegateOptions
impl Send for DelegateOptions
impl Sync for DelegateOptions
impl Unpin for DelegateOptions
impl UnsafeUnpin for DelegateOptions
impl UnwindSafe for DelegateOptions
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