#[repr(C)]pub struct ext4_blockdev {
pub bdif: *mut ext4_blockdev_iface,
pub part_offset: u64,
pub part_size: u64,
pub bc: *mut ext4_bcache,
pub lg_bsize: u32,
pub lg_bcnt: u64,
pub cache_write_back: u32,
pub fs: *mut ext4_fs,
pub journal: *mut c_void,
}Expand description
@brief Definition of the simple block device.
Fields§
§bdif: *mut ext4_blockdev_iface@brief Block device interface
part_offset: u64@brief Offset in bdif. For multi partition mode.
part_size: u64@brief Part size in bdif. For multi partition mode.
bc: *mut ext4_bcache@brief Block cache.
lg_bsize: u32@brief Block size (bytes) logical
lg_bcnt: u64@brief Block count: logical
cache_write_back: u32@brief Cache write back mode reference counter
fs: *mut ext4_fs@brief The filesystem this block device belongs to.
journal: *mut c_voidTrait Implementations§
Source§impl Clone for ext4_blockdev
impl Clone for ext4_blockdev
Source§fn clone(&self) -> ext4_blockdev
fn clone(&self) -> ext4_blockdev
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 ext4_blockdev
impl Debug for ext4_blockdev
impl Copy for ext4_blockdev
Auto Trait Implementations§
impl Freeze for ext4_blockdev
impl RefUnwindSafe for ext4_blockdev
impl !Send for ext4_blockdev
impl !Sync for ext4_blockdev
impl Unpin for ext4_blockdev
impl UnwindSafe for ext4_blockdev
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