Struct llama_cpp_sys::ggml_type_traits_t
source · #[repr(C)]pub struct ggml_type_traits_t {
pub type_name: *const c_char,
pub blck_size: c_int,
pub type_size: usize,
pub is_quantized: bool,
pub to_float: ggml_to_float_t,
pub from_float: ggml_from_float_t,
pub from_float_reference: ggml_from_float_t,
pub vec_dot: ggml_vec_dot_t,
pub vec_dot_type: ggml_type,
pub nrows: i64,
}
Fields§
§type_name: *const c_char
§blck_size: c_int
§type_size: usize
§is_quantized: bool
§to_float: ggml_to_float_t
§from_float: ggml_from_float_t
§from_float_reference: ggml_from_float_t
§vec_dot: ggml_vec_dot_t
§vec_dot_type: ggml_type
§nrows: i64
Trait Implementations§
source§impl Clone for ggml_type_traits_t
impl Clone for ggml_type_traits_t
source§fn clone(&self) -> ggml_type_traits_t
fn clone(&self) -> ggml_type_traits_t
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 ggml_type_traits_t
impl Debug for ggml_type_traits_t
source§impl PartialEq for ggml_type_traits_t
impl PartialEq for ggml_type_traits_t
source§fn eq(&self, other: &ggml_type_traits_t) -> bool
fn eq(&self, other: &ggml_type_traits_t) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ggml_type_traits_t
impl StructuralPartialEq for ggml_type_traits_t
Auto Trait Implementations§
impl Freeze for ggml_type_traits_t
impl RefUnwindSafe for ggml_type_traits_t
impl !Send for ggml_type_traits_t
impl !Sync for ggml_type_traits_t
impl Unpin for ggml_type_traits_t
impl UnwindSafe for ggml_type_traits_t
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