Struct libparted_sys::_PedDevice[][src]

#[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 PedDevicemodel: *mut c_charpath: *mut c_chartype_: PedDeviceTypesector_size: c_longlongphys_sector_size: c_longlonglength: PedSectoropen_count: c_intread_only: c_intexternal_mode: c_intdirty: c_intboot_dirty: c_inthw_geom: PedCHSGeometrybios_geom: PedCHSGeometryhost: c_shortdid: c_shortarch_specific: *mut c_void

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.