#[repr(C)]pub struct RKLLMTokenInput {
pub input_ids: *mut i32,
pub n_tokens: usize,
}
Expand description
@struct RKLLMTokenInput @brief Represents token input to the LLM.
Fields§
§input_ids: *mut i32
< Array of token IDs.
n_tokens: usize
< Number of tokens in the input.
Trait Implementations§
Source§impl Clone for RKLLMTokenInput
impl Clone for RKLLMTokenInput
Source§fn clone(&self) -> RKLLMTokenInput
fn clone(&self) -> RKLLMTokenInput
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 RKLLMTokenInput
impl Debug for RKLLMTokenInput
impl Copy for RKLLMTokenInput
Auto Trait Implementations§
impl Freeze for RKLLMTokenInput
impl RefUnwindSafe for RKLLMTokenInput
impl !Send for RKLLMTokenInput
impl !Sync for RKLLMTokenInput
impl Unpin for RKLLMTokenInput
impl UnwindSafe for RKLLMTokenInput
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