#[repr(C)]pub struct ggml_type_traits {
pub type_name: *const c_char,
pub blck_size: i64,
pub blck_size_interleave: i64,
pub type_size: usize,
pub is_quantized: bool,
pub to_float: ggml_to_float_t,
pub from_float_ref: ggml_from_float_t,
}Fields§
§type_name: *const c_char§blck_size: i64§blck_size_interleave: i64§type_size: usize§is_quantized: bool§to_float: ggml_to_float_t§from_float_ref: ggml_from_float_tTrait Implementations§
Source§impl Clone for ggml_type_traits
impl Clone for ggml_type_traits
Source§fn clone(&self) -> ggml_type_traits
fn clone(&self) -> ggml_type_traits
Returns a duplicate 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
impl Debug for ggml_type_traits
Source§impl Default for ggml_type_traits
impl Default for ggml_type_traits
impl Copy for ggml_type_traits
Auto Trait Implementations§
impl Freeze for ggml_type_traits
impl RefUnwindSafe for ggml_type_traits
impl !Send for ggml_type_traits
impl !Sync for ggml_type_traits
impl Unpin for ggml_type_traits
impl UnwindSafe for ggml_type_traits
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