#[repr(C)]pub struct llama_logit_bias {
pub token: llama_token,
pub bias: f32,
}
Fields§
§token: llama_token
§bias: f32
Trait Implementations§
Source§impl Clone for llama_logit_bias
impl Clone for llama_logit_bias
Source§fn clone(&self) -> llama_logit_bias
fn clone(&self) -> llama_logit_bias
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 llama_logit_bias
impl Debug for llama_logit_bias
Source§impl PartialEq for llama_logit_bias
impl PartialEq for llama_logit_bias
impl Copy for llama_logit_bias
impl StructuralPartialEq for llama_logit_bias
Auto Trait Implementations§
impl Freeze for llama_logit_bias
impl RefUnwindSafe for llama_logit_bias
impl Send for llama_logit_bias
impl Sync for llama_logit_bias
impl Unpin for llama_logit_bias
impl UnwindSafe for llama_logit_bias
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