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