#[repr(C)]pub struct ggml_backend_dev_props {
pub name: *const c_char,
pub description: *const c_char,
pub memory_free: usize,
pub memory_total: usize,
pub type_: ggml_backend_dev_type,
pub caps: ggml_backend_dev_caps,
}
Fields§
§name: *const c_char
§description: *const c_char
§memory_free: usize
§memory_total: usize
§type_: ggml_backend_dev_type
§caps: ggml_backend_dev_caps
Trait Implementations§
Source§impl Clone for ggml_backend_dev_props
impl Clone for ggml_backend_dev_props
Source§fn clone(&self) -> ggml_backend_dev_props
fn clone(&self) -> ggml_backend_dev_props
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_dev_props
impl Debug for ggml_backend_dev_props
Source§impl PartialEq for ggml_backend_dev_props
impl PartialEq for ggml_backend_dev_props
impl Copy for ggml_backend_dev_props
impl StructuralPartialEq for ggml_backend_dev_props
Auto Trait Implementations§
impl Freeze for ggml_backend_dev_props
impl RefUnwindSafe for ggml_backend_dev_props
impl !Send for ggml_backend_dev_props
impl !Sync for ggml_backend_dev_props
impl Unpin for ggml_backend_dev_props
impl UnwindSafe for ggml_backend_dev_props
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