[][src]Struct libparted_sys::_PedDevice

#[repr(C)]
pub struct _PedDevice {
    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

impl Clone for _PedDevice[src]

impl Copy for _PedDevice[src]

impl Debug for _PedDevice[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.