pub struct VadContextParams {
pub n_threads: i32,
pub use_gpu: bool,
pub gpu_device: i32,
}Expand description
VAD context parameters
Fields§
§n_threads: i32Number of threads to use for processing
use_gpu: boolWhether to use GPU acceleration
gpu_device: i32GPU device ID to use
Trait Implementations§
Source§impl Clone for VadContextParams
impl Clone for VadContextParams
Source§fn clone(&self) -> VadContextParams
fn clone(&self) -> VadContextParams
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 VadContextParams
impl Debug for VadContextParams
Auto Trait Implementations§
impl Freeze for VadContextParams
impl RefUnwindSafe for VadContextParams
impl Send for VadContextParams
impl Sync for VadContextParams
impl Unpin for VadContextParams
impl UnwindSafe for VadContextParams
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