Enum llama_cpp_sys::llama_split_mode
source · #[non_exhaustive]#[repr(u32)]pub enum llama_split_mode {
LLAMA_SPLIT_MODE_NONE = 0,
LLAMA_SPLIT_MODE_LAYER = 1,
LLAMA_SPLIT_MODE_ROW = 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_split_mode
impl Clone for llama_split_mode
source§fn clone(&self) -> llama_split_mode
fn clone(&self) -> llama_split_mode
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_split_mode
impl Debug for llama_split_mode
source§impl Hash for llama_split_mode
impl Hash for llama_split_mode
source§impl PartialEq for llama_split_mode
impl PartialEq for llama_split_mode
source§fn eq(&self, other: &llama_split_mode) -> bool
fn eq(&self, other: &llama_split_mode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for llama_split_mode
impl Eq for llama_split_mode
impl StructuralPartialEq for llama_split_mode
Auto Trait Implementations§
impl Freeze for llama_split_mode
impl RefUnwindSafe for llama_split_mode
impl Send for llama_split_mode
impl Sync for llama_split_mode
impl Unpin for llama_split_mode
impl UnwindSafe for llama_split_mode
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