pub struct FutharkMemBlock {
pub block_id: u32,
pub size_bytes: u64,
pub device: String,
pub is_pinned: bool,
}Expand description
Futhark memory block (for GPU memory management)
Fields§
§block_id: u32§size_bytes: u64§device: String§is_pinned: boolTrait Implementations§
Source§impl Clone for FutharkMemBlock
impl Clone for FutharkMemBlock
Source§fn clone(&self) -> FutharkMemBlock
fn clone(&self) -> FutharkMemBlock
Returns a duplicate 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 FutharkMemBlock
impl Debug for FutharkMemBlock
Auto Trait Implementations§
impl Freeze for FutharkMemBlock
impl RefUnwindSafe for FutharkMemBlock
impl Send for FutharkMemBlock
impl Sync for FutharkMemBlock
impl Unpin for FutharkMemBlock
impl UnsafeUnpin for FutharkMemBlock
impl UnwindSafe for FutharkMemBlock
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