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