#[repr(C)]pub struct mtmd_gen_inp {}Fields§
§type_: mtmd_gen_process_type§code0: i32§embd: *mut f32§top_k: i32§top_p: f32§seed: u32§temp: f32§codes: *mut i32§n_codes: usize§feats: *const f32§n_feats: usize§state_data: *const c_char§state_size: usizeTrait Implementations§
Source§impl Clone for mtmd_gen_inp
impl Clone for mtmd_gen_inp
Source§fn clone(&self) -> mtmd_gen_inp
fn clone(&self) -> mtmd_gen_inp
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 moreimpl Copy for mtmd_gen_inp
Source§impl Debug for mtmd_gen_inp
impl Debug for mtmd_gen_inp
Source§impl PartialEq for mtmd_gen_inp
impl PartialEq for mtmd_gen_inp
impl StructuralPartialEq for mtmd_gen_inp
Auto Trait Implementations§
impl !Send for mtmd_gen_inp
impl !Sync for mtmd_gen_inp
impl Freeze for mtmd_gen_inp
impl RefUnwindSafe for mtmd_gen_inp
impl Unpin for mtmd_gen_inp
impl UnsafeUnpin for mtmd_gen_inp
impl UnwindSafe for mtmd_gen_inp
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