Struct libparted_sys::_PedDevice
source · #[repr(C)]pub struct _PedDevice {Show 17 fields
pub next: *mut PedDevice,
pub model: *mut c_char,
pub path: *mut c_char,
pub type_: PedDeviceType,
pub sector_size: c_longlong,
pub phys_sector_size: c_longlong,
pub length: PedSector,
pub open_count: c_int,
pub read_only: c_int,
pub external_mode: c_int,
pub dirty: c_int,
pub boot_dirty: c_int,
pub hw_geom: PedCHSGeometry,
pub bios_geom: PedCHSGeometry,
pub host: c_short,
pub did: c_short,
pub arch_specific: *mut c_void,
}
Fields§
§next: *mut PedDevice
§model: *mut c_char
§path: *mut c_char
§type_: PedDeviceType
§sector_size: c_longlong
§phys_sector_size: c_longlong
§length: PedSector
§open_count: c_int
§read_only: c_int
§external_mode: c_int
§dirty: c_int
§boot_dirty: c_int
§hw_geom: PedCHSGeometry
§bios_geom: PedCHSGeometry
§host: c_short
§did: c_short
§arch_specific: *mut c_void
Trait Implementations§
source§impl Clone for _PedDevice
impl Clone for _PedDevice
source§fn clone(&self) -> _PedDevice
fn clone(&self) -> _PedDevice
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 _PedDevice
impl Debug for _PedDevice
impl Copy for _PedDevice
Auto Trait Implementations§
impl RefUnwindSafe for _PedDevice
impl !Send for _PedDevice
impl !Sync for _PedDevice
impl Unpin for _PedDevice
impl UnwindSafe for _PedDevice
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