#[repr(C)]pub struct llama_beams_state {
pub beam_views: *mut llama_beam_view,
pub n_beams: usize,
pub common_prefix_length: usize,
pub last_call: bool,
}
Fields§
§beam_views: *mut llama_beam_view
§n_beams: usize
§common_prefix_length: usize
§last_call: bool
Trait Implementations§
Source§impl Clone for llama_beams_state
impl Clone for llama_beams_state
Source§fn clone(&self) -> llama_beams_state
fn clone(&self) -> llama_beams_state
Returns a duplicate 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_beams_state
impl Debug for llama_beams_state
Source§impl PartialEq for llama_beams_state
impl PartialEq for llama_beams_state
impl Copy for llama_beams_state
impl StructuralPartialEq for llama_beams_state
Auto Trait Implementations§
impl Freeze for llama_beams_state
impl RefUnwindSafe for llama_beams_state
impl !Send for llama_beams_state
impl !Sync for llama_beams_state
impl Unpin for llama_beams_state
impl UnwindSafe for llama_beams_state
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