Struct llama_cpp_sys_2::ggml_cplan
source · #[repr(C)]pub struct ggml_cplan {
pub work_size: usize,
pub work_data: *mut u8,
pub n_threads: c_int,
pub abort_callback: Option<unsafe extern "C" fn(data: *mut c_void) -> bool>,
pub abort_callback_data: *mut c_void,
}Fields§
§work_size: usize§work_data: *mut u8§n_threads: c_int§abort_callback: Option<unsafe extern "C" fn(data: *mut c_void) -> bool>§abort_callback_data: *mut c_voidTrait Implementations§
source§impl Clone for ggml_cplan
impl Clone for ggml_cplan
source§fn clone(&self) -> ggml_cplan
fn clone(&self) -> ggml_cplan
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_cplan
impl Debug for ggml_cplan
source§impl PartialEq for ggml_cplan
impl PartialEq for ggml_cplan
source§fn eq(&self, other: &ggml_cplan) -> bool
fn eq(&self, other: &ggml_cplan) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for ggml_cplan
impl Eq for ggml_cplan
impl StructuralEq for ggml_cplan
impl StructuralPartialEq for ggml_cplan
Auto Trait Implementations§
impl RefUnwindSafe for ggml_cplan
impl !Send for ggml_cplan
impl !Sync for ggml_cplan
impl Unpin for ggml_cplan
impl UnwindSafe for ggml_cplan
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