#[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 (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 BlockdevOptionsRaw
Auto Trait Implementations§
impl !Send for BlockdevOptionsRaw
impl !Sync for BlockdevOptionsRaw
impl Freeze for BlockdevOptionsRaw
impl RefUnwindSafe for BlockdevOptionsRaw
impl Unpin for BlockdevOptionsRaw
impl UnsafeUnpin 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