#[repr(C)]pub struct chat_shim_apply_result {Show 13 fields
pub prompt_off: usize,
pub prompt_parts_off: usize,
pub grammar_off: usize,
pub grammar_triggers_off: usize,
pub preserved_tokens_off: usize,
pub additional_stops_off: usize,
pub generation_prompt_off: usize,
pub thinking_start_tag_off: usize,
pub thinking_end_tags_off: usize,
pub format: i32,
pub parser: *mut chat_shim_parser,
pub grammar_lazy: bool,
pub supports_thinking: bool,
}Fields§
§prompt_off: usize§prompt_parts_off: usize§grammar_off: usize§grammar_triggers_off: usize§preserved_tokens_off: usize§additional_stops_off: usize§generation_prompt_off: usize§thinking_start_tag_off: usize§format: i32§parser: *mut chat_shim_parser§grammar_lazy: bool§supports_thinking: boolTrait Implementations§
Source§impl Clone for chat_shim_apply_result
impl Clone for chat_shim_apply_result
impl Copy for chat_shim_apply_result
Source§impl Debug for chat_shim_apply_result
impl Debug for chat_shim_apply_result
Source§impl PartialEq for chat_shim_apply_result
impl PartialEq for chat_shim_apply_result
impl StructuralPartialEq for chat_shim_apply_result
Auto Trait Implementations§
impl !Send for chat_shim_apply_result
impl !Sync for chat_shim_apply_result
impl Freeze for chat_shim_apply_result
impl RefUnwindSafe for chat_shim_apply_result
impl Unpin for chat_shim_apply_result
impl UnsafeUnpin for chat_shim_apply_result
impl UnwindSafe for chat_shim_apply_result
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