#[repr(C)]pub struct RKLLMInput {
pub input_type: RKLLMInputType,
pub __bindgen_anon_1: RKLLMInput__bindgen_ty_1,
}
Expand description
@struct RKLLMInput @brief Represents different types of input to the LLM via a union.
Fields§
§input_type: RKLLMInputType
< Specifies the type of input provided (e.g., prompt, token, embed, multimodal).
__bindgen_anon_1: RKLLMInput__bindgen_ty_1
Trait Implementations§
Source§impl Clone for RKLLMInput
impl Clone for RKLLMInput
Source§fn clone(&self) -> RKLLMInput
fn clone(&self) -> RKLLMInput
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 moreimpl Copy for RKLLMInput
Auto Trait Implementations§
impl Freeze for RKLLMInput
impl RefUnwindSafe for RKLLMInput
impl !Send for RKLLMInput
impl !Sync for RKLLMInput
impl Unpin for RKLLMInput
impl UnwindSafe for RKLLMInput
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