#[repr(C)]pub struct llama_token_data_array {
pub data: *mut llama_token_data,
pub size: usize,
pub selected: i64,
pub sorted: bool,
}
Fields§
§data: *mut llama_token_data
§size: usize
§selected: i64
§sorted: bool
Trait Implementations§
Source§impl Clone for llama_token_data_array
impl Clone for llama_token_data_array
Source§fn clone(&self) -> llama_token_data_array
fn clone(&self) -> llama_token_data_array
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_token_data_array
impl Debug for llama_token_data_array
Source§impl PartialEq for llama_token_data_array
impl PartialEq for llama_token_data_array
impl Copy for llama_token_data_array
impl StructuralPartialEq for llama_token_data_array
Auto Trait Implementations§
impl Freeze for llama_token_data_array
impl RefUnwindSafe for llama_token_data_array
impl !Send for llama_token_data_array
impl !Sync for llama_token_data_array
impl Unpin for llama_token_data_array
impl UnwindSafe for llama_token_data_array
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