#[repr(C)]pub struct ggml_cplan {
pub work_size: usize,
pub work_data: *mut u8,
pub n_threads: c_int,
pub threadpool: *mut ggml_threadpool,
pub abort_callback: ggml_abort_callback,
pub abort_callback_data: *mut c_void,
}
Fields§
§work_size: usize
§work_data: *mut u8
§n_threads: c_int
§threadpool: *mut ggml_threadpool
§abort_callback: ggml_abort_callback
§abort_callback_data: *mut c_void
Trait 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
impl Copy for ggml_cplan
impl StructuralPartialEq for ggml_cplan
Auto Trait Implementations§
impl Freeze for ggml_cplan
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