#[non_exhaustive]#[repr(u32)]pub enum llama_model_kv_override_type {
LLAMA_KV_OVERRIDE_TYPE_INT = 0,
LLAMA_KV_OVERRIDE_TYPE_FLOAT = 1,
LLAMA_KV_OVERRIDE_TYPE_BOOL = 2,
}
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
source§impl Clone for llama_model_kv_override_type
impl Clone for llama_model_kv_override_type
source§fn clone(&self) -> llama_model_kv_override_type
fn clone(&self) -> llama_model_kv_override_type
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_model_kv_override_type
impl Debug for llama_model_kv_override_type
source§impl Hash for llama_model_kv_override_type
impl Hash for llama_model_kv_override_type
source§impl PartialEq for llama_model_kv_override_type
impl PartialEq for llama_model_kv_override_type
source§fn eq(&self, other: &llama_model_kv_override_type) -> bool
fn eq(&self, other: &llama_model_kv_override_type) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for llama_model_kv_override_type
impl Eq for llama_model_kv_override_type
impl StructuralPartialEq for llama_model_kv_override_type
Auto Trait Implementations§
impl Freeze for llama_model_kv_override_type
impl RefUnwindSafe for llama_model_kv_override_type
impl Send for llama_model_kv_override_type
impl Sync for llama_model_kv_override_type
impl Unpin for llama_model_kv_override_type
impl UnwindSafe for llama_model_kv_override_type
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