pub struct TurnOptions {
pub threshold: f64,
}Expand description
Settings for transcribe_cpp::TurnSession::run.
Fields§
§threshold: f64Probability at or above which the turn counts as ended
(TurnResult::ended). Negative (the default, -1) uses the model’s
TurnInfo::threshold; otherwise [0, 1].
Trait Implementations§
Source§impl Clone for TurnOptions
impl Clone for TurnOptions
Source§fn clone(&self) -> TurnOptions
fn clone(&self) -> TurnOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 TurnOptions
impl Debug for TurnOptions
Source§impl Default for TurnOptions
impl Default for TurnOptions
Source§fn default() -> TurnOptions
fn default() -> TurnOptions
Returns the “default value” for a type. Read more
Source§impl PartialEq for TurnOptions
impl PartialEq for TurnOptions
impl StructuralPartialEq for TurnOptions
Auto Trait Implementations§
impl Forget for TurnOptions
impl Freeze for TurnOptions
impl Move for TurnOptions
impl RefUnwindSafe for TurnOptions
impl Send for TurnOptions
impl Sync for TurnOptions
impl Unpin for TurnOptions
impl UnsafeUnpin for TurnOptions
impl UnwindSafe for TurnOptions
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