#[repr(C)]pub struct llama_grammar_candidate {
pub index: usize,
pub code_points: *const u32,
pub partial_utf8: llama_partial_utf8,
}
Fields§
§index: usize
§code_points: *const u32
§partial_utf8: llama_partial_utf8
Trait Implementations§
Source§impl Clone for llama_grammar_candidate
impl Clone for llama_grammar_candidate
Source§fn clone(&self) -> llama_grammar_candidate
fn clone(&self) -> llama_grammar_candidate
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_grammar_candidate
impl Debug for llama_grammar_candidate
Source§impl PartialEq for llama_grammar_candidate
impl PartialEq for llama_grammar_candidate
impl Copy for llama_grammar_candidate
impl StructuralPartialEq for llama_grammar_candidate
Auto Trait Implementations§
impl Freeze for llama_grammar_candidate
impl RefUnwindSafe for llama_grammar_candidate
impl !Send for llama_grammar_candidate
impl !Sync for llama_grammar_candidate
impl Unpin for llama_grammar_candidate
impl UnwindSafe for llama_grammar_candidate
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