#[repr(C)]pub struct common_device_memory_flat_entry {
pub total: i64,
pub free: i64,
pub model: usize,
pub context: usize,
pub compute: usize,
}Fields§
§total: i64§free: i64§model: usize§context: usize§compute: usizeTrait Implementations§
Source§impl Clone for common_device_memory_flat_entry
impl Clone for common_device_memory_flat_entry
Source§fn clone(&self) -> common_device_memory_flat_entry
fn clone(&self) -> common_device_memory_flat_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 common_device_memory_flat_entry
Source§impl PartialEq for common_device_memory_flat_entry
impl PartialEq for common_device_memory_flat_entry
Source§fn eq(&self, other: &common_device_memory_flat_entry) -> bool
fn eq(&self, other: &common_device_memory_flat_entry) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for common_device_memory_flat_entry
Auto Trait Implementations§
impl Freeze for common_device_memory_flat_entry
impl RefUnwindSafe for common_device_memory_flat_entry
impl Send for common_device_memory_flat_entry
impl Sync for common_device_memory_flat_entry
impl Unpin for common_device_memory_flat_entry
impl UnsafeUnpin for common_device_memory_flat_entry
impl UnwindSafe for common_device_memory_flat_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