#[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_voidTrait 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 duplicate 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
impl Copy for ggml_scratch
Auto Trait Implementations§
impl Freeze for ggml_scratch
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