#[repr(C)]pub struct SherpaOnnxOfflineLMConfig {
pub model: *const c_char,
pub scale: f32,
}
Fields§
§model: *const c_char
§scale: f32
Trait Implementations§
Source§impl Clone for SherpaOnnxOfflineLMConfig
impl Clone for SherpaOnnxOfflineLMConfig
Source§fn clone(&self) -> SherpaOnnxOfflineLMConfig
fn clone(&self) -> SherpaOnnxOfflineLMConfig
Returns a copy 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 SherpaOnnxOfflineLMConfig
impl Debug for SherpaOnnxOfflineLMConfig
impl Copy for SherpaOnnxOfflineLMConfig
Auto Trait Implementations§
impl Freeze for SherpaOnnxOfflineLMConfig
impl RefUnwindSafe for SherpaOnnxOfflineLMConfig
impl !Send for SherpaOnnxOfflineLMConfig
impl !Sync for SherpaOnnxOfflineLMConfig
impl Unpin for SherpaOnnxOfflineLMConfig
impl UnwindSafe for SherpaOnnxOfflineLMConfig
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