#[repr(C)]pub struct BlockdevOptionsRaw {
pub file: *mut BlockdevRef,
pub has_offset: bool,
pub offset: i64,
pub has_size: bool,
pub size: i64,
}Fields§
§file: *mut BlockdevRef§has_offset: bool§offset: i64§has_size: bool§size: i64Trait Implementations§
Source§impl Clone for BlockdevOptionsRaw
impl Clone for BlockdevOptionsRaw
Source§fn clone(&self) -> BlockdevOptionsRaw
fn clone(&self) -> BlockdevOptionsRaw
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 BlockdevOptionsRaw
impl Debug for BlockdevOptionsRaw
impl Copy for BlockdevOptionsRaw
Auto Trait Implementations§
impl Freeze for BlockdevOptionsRaw
impl RefUnwindSafe for BlockdevOptionsRaw
impl !Send for BlockdevOptionsRaw
impl !Sync for BlockdevOptionsRaw
impl Unpin for BlockdevOptionsRaw
impl UnwindSafe for BlockdevOptionsRaw
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