#[repr(C)]pub struct ggml_tallocr {
pub buffer: ggml_backend_buffer_t,
pub base: *mut c_void,
pub alignment: usize,
pub offset: usize,
}
Fields§
§buffer: ggml_backend_buffer_t
§base: *mut c_void
§alignment: usize
§offset: usize
Trait Implementations§
Source§impl Clone for ggml_tallocr
impl Clone for ggml_tallocr
Source§fn clone(&self) -> ggml_tallocr
fn clone(&self) -> ggml_tallocr
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_tallocr
impl Debug for ggml_tallocr
Source§impl PartialEq for ggml_tallocr
impl PartialEq for ggml_tallocr
impl Copy for ggml_tallocr
impl StructuralPartialEq for ggml_tallocr
Auto Trait Implementations§
impl Freeze for ggml_tallocr
impl RefUnwindSafe for ggml_tallocr
impl !Send for ggml_tallocr
impl !Sync for ggml_tallocr
impl Unpin for ggml_tallocr
impl UnwindSafe for ggml_tallocr
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