pub struct DefragMove {
pub allocation_id: u64,
pub src_offset: u64,
pub dst_offset: u64,
pub size: u64,
}Expand description
Defragmentation plan entry describing a memory move operation
Fields§
§allocation_id: u64Allocation ID being moved
src_offset: u64Source offset in the pool
dst_offset: u64Destination offset in the pool
size: u64Size of the block to move
Trait Implementations§
Source§impl Clone for DefragMove
impl Clone for DefragMove
Source§fn clone(&self) -> DefragMove
fn clone(&self) -> DefragMove
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 moreAuto Trait Implementations§
impl Freeze for DefragMove
impl RefUnwindSafe for DefragMove
impl Send for DefragMove
impl Sync for DefragMove
impl Unpin for DefragMove
impl UnsafeUnpin for DefragMove
impl UnwindSafe for DefragMove
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