#[repr(C)]pub struct llama_memory_breakdown_entry {
pub buft_name: [c_char; 128],
pub model: usize,
pub context: usize,
pub compute: usize,
}Fields§
§buft_name: [c_char; 128]§model: usize§context: usize§compute: usizeTrait Implementations§
Source§impl Clone for llama_memory_breakdown_entry
impl Clone for llama_memory_breakdown_entry
Source§fn clone(&self) -> llama_memory_breakdown_entry
fn clone(&self) -> llama_memory_breakdown_entry
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for llama_memory_breakdown_entry
Source§impl Debug for llama_memory_breakdown_entry
impl Debug for llama_memory_breakdown_entry
Source§impl PartialEq for llama_memory_breakdown_entry
impl PartialEq for llama_memory_breakdown_entry
Source§fn eq(&self, other: &llama_memory_breakdown_entry) -> bool
fn eq(&self, other: &llama_memory_breakdown_entry) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for llama_memory_breakdown_entry
Auto Trait Implementations§
impl Freeze for llama_memory_breakdown_entry
impl RefUnwindSafe for llama_memory_breakdown_entry
impl Send for llama_memory_breakdown_entry
impl Sync for llama_memory_breakdown_entry
impl Unpin for llama_memory_breakdown_entry
impl UnsafeUnpin for llama_memory_breakdown_entry
impl UnwindSafe for llama_memory_breakdown_entry
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