pub struct StageLogitBias {
pub token_id: i32,
pub bias: f32,
}Fields§
§token_id: i32§bias: f32Trait Implementations§
Source§impl Clone for StageLogitBias
impl Clone for StageLogitBias
Source§fn clone(&self) -> StageLogitBias
fn clone(&self) -> StageLogitBias
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 StageLogitBias
Source§impl Debug for StageLogitBias
impl Debug for StageLogitBias
Source§impl Default for StageLogitBias
impl Default for StageLogitBias
Source§impl PartialEq for StageLogitBias
impl PartialEq for StageLogitBias
impl StructuralPartialEq for StageLogitBias
Auto Trait Implementations§
impl Freeze for StageLogitBias
impl RefUnwindSafe for StageLogitBias
impl Send for StageLogitBias
impl Sync for StageLogitBias
impl Unpin for StageLogitBias
impl UnsafeUnpin for StageLogitBias
impl UnwindSafe for StageLogitBias
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