#[repr(C)]pub struct _PedDeviceArchOps {Show 15 fields
pub _new: Option<unsafe extern "C" fn(path: *const c_char) -> *mut PedDevice>,
pub destroy: Option<unsafe extern "C" fn(dev: *mut PedDevice)>,
pub is_busy: Option<unsafe extern "C" fn(dev: *mut PedDevice) -> c_int>,
pub open: Option<unsafe extern "C" fn(dev: *mut PedDevice) -> c_int>,
pub refresh_open: Option<unsafe extern "C" fn(dev: *mut PedDevice) -> c_int>,
pub close: Option<unsafe extern "C" fn(dev: *mut PedDevice) -> c_int>,
pub refresh_close: Option<unsafe extern "C" fn(dev: *mut PedDevice) -> c_int>,
pub read: Option<unsafe extern "C" fn(dev: *const PedDevice, buffer: *mut c_void, start: PedSector, count: PedSector) -> c_int>,
pub write: Option<unsafe extern "C" fn(dev: *mut PedDevice, buffer: *const c_void, start: PedSector, count: PedSector) -> c_int>,
pub sync: Option<unsafe extern "C" fn(dev: *mut PedDevice) -> c_int>,
pub sync_fast: Option<unsafe extern "C" fn(dev: *mut PedDevice) -> c_int>,
pub check: Option<unsafe extern "C" fn(dev: *mut PedDevice, buffer: *mut c_void, start: PedSector, count: PedSector) -> PedSector>,
pub probe_all: Option<unsafe extern "C" fn()>,
pub get_minimum_alignment: Option<unsafe extern "C" fn(dev: *const PedDevice) -> *mut PedAlignment>,
pub get_optimum_alignment: Option<unsafe extern "C" fn(dev: *const PedDevice) -> *mut PedAlignment>,
}Fields§
§_new: Option<unsafe extern "C" fn(path: *const c_char) -> *mut PedDevice>§destroy: Option<unsafe extern "C" fn(dev: *mut PedDevice)>§is_busy: Option<unsafe extern "C" fn(dev: *mut PedDevice) -> c_int>§open: Option<unsafe extern "C" fn(dev: *mut PedDevice) -> c_int>§refresh_open: Option<unsafe extern "C" fn(dev: *mut PedDevice) -> c_int>§close: Option<unsafe extern "C" fn(dev: *mut PedDevice) -> c_int>§refresh_close: Option<unsafe extern "C" fn(dev: *mut PedDevice) -> c_int>§read: Option<unsafe extern "C" fn(dev: *const PedDevice, buffer: *mut c_void, start: PedSector, count: PedSector) -> c_int>§write: Option<unsafe extern "C" fn(dev: *mut PedDevice, buffer: *const c_void, start: PedSector, count: PedSector) -> c_int>§sync: Option<unsafe extern "C" fn(dev: *mut PedDevice) -> c_int>§sync_fast: Option<unsafe extern "C" fn(dev: *mut PedDevice) -> c_int>§check: Option<unsafe extern "C" fn(dev: *mut PedDevice, buffer: *mut c_void, start: PedSector, count: PedSector) -> PedSector>§probe_all: Option<unsafe extern "C" fn()>§get_minimum_alignment: Option<unsafe extern "C" fn(dev: *const PedDevice) -> *mut PedAlignment>§get_optimum_alignment: Option<unsafe extern "C" fn(dev: *const PedDevice) -> *mut PedAlignment>Trait Implementations§
Source§impl Clone for _PedDeviceArchOps
impl Clone for _PedDeviceArchOps
Source§fn clone(&self) -> _PedDeviceArchOps
fn clone(&self) -> _PedDeviceArchOps
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 _PedDeviceArchOps
impl Debug for _PedDeviceArchOps
impl Copy for _PedDeviceArchOps
Auto Trait Implementations§
impl Freeze for _PedDeviceArchOps
impl RefUnwindSafe for _PedDeviceArchOps
impl Send for _PedDeviceArchOps
impl Sync for _PedDeviceArchOps
impl Unpin for _PedDeviceArchOps
impl UnwindSafe for _PedDeviceArchOps
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