Struct libparted_sys::_PedDiskArchOps
source · #[repr(C)]pub struct _PedDiskArchOps {
pub partition_get_path: Option<unsafe extern "C" fn(part: *const PedPartition) -> *mut c_char>,
pub partition_is_busy: Option<unsafe extern "C" fn(part: *const PedPartition) -> c_int>,
pub disk_commit: Option<unsafe extern "C" fn(disk: *mut PedDisk) -> c_int>,
}
Fields§
§partition_get_path: Option<unsafe extern "C" fn(part: *const PedPartition) -> *mut c_char>
§partition_is_busy: Option<unsafe extern "C" fn(part: *const PedPartition) -> c_int>
§disk_commit: Option<unsafe extern "C" fn(disk: *mut PedDisk) -> c_int>
Trait Implementations§
source§impl Clone for _PedDiskArchOps
impl Clone for _PedDiskArchOps
source§fn clone(&self) -> _PedDiskArchOps
fn clone(&self) -> _PedDiskArchOps
Returns a copy 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 _PedDiskArchOps
impl Debug for _PedDiskArchOps
impl Copy for _PedDiskArchOps
Auto Trait Implementations§
impl RefUnwindSafe for _PedDiskArchOps
impl Send for _PedDiskArchOps
impl Sync for _PedDiskArchOps
impl Unpin for _PedDiskArchOps
impl UnwindSafe for _PedDiskArchOps
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