Struct devicemapper::Device
source · pub struct Device {
pub major: u32,
pub minor: u32,
}Expand description
A struct containing the device’s major and minor numbers
Also allows conversion to/from a single 64bit dev_t value.
Fields§
§major: u32Device major number
minor: u32Device minor number
Implementations§
Trait Implementations§
source§impl PartialEq for Device
impl PartialEq for Device
impl Copy for Device
impl Eq for Device
impl StructuralEq for Device
impl StructuralPartialEq for Device
Auto Trait Implementations§
impl RefUnwindSafe for Device
impl Send for Device
impl Sync for Device
impl Unpin for Device
impl UnwindSafe for Device
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