#[repr(C)]pub struct BlockStats {
pub has_device: bool,
pub device: *mut i8,
pub has_node_name: bool,
pub node_name: *mut i8,
pub stats: *mut BlockDeviceStats,
pub has_parent: bool,
pub parent: *mut BlockStats,
pub has_backing: bool,
pub backing: *mut BlockStats,
}Fields§
§has_device: bool§device: *mut i8§has_node_name: bool§node_name: *mut i8§stats: *mut BlockDeviceStats§has_parent: bool§parent: *mut BlockStats§has_backing: bool§backing: *mut BlockStatsTrait Implementations§
Source§impl Clone for BlockStats
impl Clone for BlockStats
Source§fn clone(&self) -> BlockStats
fn clone(&self) -> BlockStats
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 BlockStats
impl Debug for BlockStats
impl Copy for BlockStats
Auto Trait Implementations§
impl Freeze for BlockStats
impl RefUnwindSafe for BlockStats
impl !Send for BlockStats
impl !Sync for BlockStats
impl Unpin for BlockStats
impl UnwindSafe for BlockStats
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