Struct llama_cpp_sys::ggml_init_params
source · #[repr(C)]pub struct ggml_init_params {
pub mem_size: usize,
pub mem_buffer: *mut c_void,
pub no_alloc: bool,
}
Fields§
§mem_size: usize
§mem_buffer: *mut c_void
§no_alloc: bool
Trait Implementations§
source§impl Clone for ggml_init_params
impl Clone for ggml_init_params
source§fn clone(&self) -> ggml_init_params
fn clone(&self) -> ggml_init_params
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_init_params
impl Debug for ggml_init_params
source§impl PartialEq for ggml_init_params
impl PartialEq for ggml_init_params
source§fn eq(&self, other: &ggml_init_params) -> bool
fn eq(&self, other: &ggml_init_params) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ggml_init_params
impl StructuralPartialEq for ggml_init_params
Auto Trait Implementations§
impl Freeze for ggml_init_params
impl RefUnwindSafe for ggml_init_params
impl !Send for ggml_init_params
impl !Sync for ggml_init_params
impl Unpin for ggml_init_params
impl UnwindSafe for ggml_init_params
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