#[repr(C)]pub struct ggml_compute_params {
pub type_: ggml_task_type,
pub ith: c_int,
pub nth: c_int,
pub wsize: usize,
pub wdata: *mut c_void,
}
Fields§
§type_: ggml_task_type
§ith: c_int
§nth: c_int
§wsize: usize
§wdata: *mut c_void
Trait Implementations§
source§impl Clone for ggml_compute_params
impl Clone for ggml_compute_params
source§fn clone(&self) -> ggml_compute_params
fn clone(&self) -> ggml_compute_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_compute_params
impl Debug for ggml_compute_params
source§impl Hash for ggml_compute_params
impl Hash for ggml_compute_params
source§impl Ord for ggml_compute_params
impl Ord for ggml_compute_params
source§fn cmp(&self, other: &ggml_compute_params) -> Ordering
fn cmp(&self, other: &ggml_compute_params) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for ggml_compute_params
impl PartialEq for ggml_compute_params
source§fn eq(&self, other: &ggml_compute_params) -> bool
fn eq(&self, other: &ggml_compute_params) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for ggml_compute_params
impl PartialOrd for ggml_compute_params
source§fn partial_cmp(&self, other: &ggml_compute_params) -> Option<Ordering>
fn partial_cmp(&self, other: &ggml_compute_params) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for ggml_compute_params
impl Eq for ggml_compute_params
impl StructuralPartialEq for ggml_compute_params
Auto Trait Implementations§
impl Freeze for ggml_compute_params
impl RefUnwindSafe for ggml_compute_params
impl !Send for ggml_compute_params
impl !Sync for ggml_compute_params
impl Unpin for ggml_compute_params
impl UnwindSafe for ggml_compute_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