Struct llama_cpp_2::grammar::LlamaGrammar
source · pub struct LlamaGrammar { /* private fields */ }
Expand description
A grammar for llama-cpp.
Trait Implementations§
source§impl Clone for LlamaGrammar
impl Clone for LlamaGrammar
source§impl Debug for LlamaGrammar
impl Debug for LlamaGrammar
source§impl Drop for LlamaGrammar
impl Drop for LlamaGrammar
source§impl FromStr for LlamaGrammar
impl FromStr for LlamaGrammar
impl Send for LlamaGrammar
impl Sync for LlamaGrammar
Auto Trait Implementations§
impl Freeze for LlamaGrammar
impl RefUnwindSafe for LlamaGrammar
impl Unpin for LlamaGrammar
impl UnwindSafe for LlamaGrammar
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)