#[repr(C)]pub struct EraseRange {
pub position: Size,
pub size: Size,
}Expand description
Byte range of a block device, relative to its start.
Fields§
§position: Size§size: SizeTrait Implementations§
Source§impl Clone for EraseRange
impl Clone for EraseRange
Source§fn clone(&self) -> EraseRange
fn clone(&self) -> EraseRange
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 moreSource§impl Debug for EraseRange
impl Debug for EraseRange
Source§impl PartialEq for EraseRange
impl PartialEq for EraseRange
Source§fn eq(&self, other: &EraseRange) -> bool
fn eq(&self, other: &EraseRange) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for EraseRange
impl Eq for EraseRange
impl PlainData for EraseRange
impl StructuralPartialEq for EraseRange
Auto Trait Implementations§
impl Freeze for EraseRange
impl RefUnwindSafe for EraseRange
impl Send for EraseRange
impl Sync for EraseRange
impl Unpin for EraseRange
impl UnsafeUnpin for EraseRange
impl UnwindSafe for EraseRange
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