Struct llama_cpp_sys::ggml_backend_graph_copy
source · #[repr(C)]pub struct ggml_backend_graph_copy {
pub buffer: ggml_backend_buffer_t,
pub ctx_allocated: *mut ggml_context,
pub ctx_unallocated: *mut ggml_context,
pub graph: *mut ggml_cgraph,
}
Fields§
§buffer: ggml_backend_buffer_t
§ctx_allocated: *mut ggml_context
§ctx_unallocated: *mut ggml_context
§graph: *mut ggml_cgraph
Trait Implementations§
source§impl Clone for ggml_backend_graph_copy
impl Clone for ggml_backend_graph_copy
source§fn clone(&self) -> ggml_backend_graph_copy
fn clone(&self) -> ggml_backend_graph_copy
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_backend_graph_copy
impl Debug for ggml_backend_graph_copy
source§impl PartialEq for ggml_backend_graph_copy
impl PartialEq for ggml_backend_graph_copy
source§fn eq(&self, other: &ggml_backend_graph_copy) -> bool
fn eq(&self, other: &ggml_backend_graph_copy) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ggml_backend_graph_copy
impl StructuralPartialEq for ggml_backend_graph_copy
Auto Trait Implementations§
impl Freeze for ggml_backend_graph_copy
impl RefUnwindSafe for ggml_backend_graph_copy
impl !Send for ggml_backend_graph_copy
impl !Sync for ggml_backend_graph_copy
impl Unpin for ggml_backend_graph_copy
impl UnwindSafe for ggml_backend_graph_copy
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