#[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
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