Struct btrfs_diskformat::BlockGroupItem
source · #[repr(C, packed)]pub struct BlockGroupItem {
pub used: U64<LE>,
pub chunk_objectid: U64<LE>,
pub flags: U64<LE>,
}
Expand description
Defines the location, properties, and usage of a block group.
Fields
used: U64<LE>
The space used, in bytes, in this block group.
chunk_objectid: U64<LE>
The object ID of the chunk backing this block group.
flags: U64<LE>
Flags indicating allocation type and replication policy.
Trait Implementations
sourceimpl AsBytes for BlockGroupItem
impl AsBytes for BlockGroupItem
sourceimpl Clone for BlockGroupItem
impl Clone for BlockGroupItem
sourcefn clone(&self) -> BlockGroupItem
fn clone(&self) -> BlockGroupItem
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for BlockGroupItem
impl Debug for BlockGroupItem
impl Copy for BlockGroupItem
impl FromBytes for BlockGroupItem
impl Unaligned for BlockGroupItem
Auto Trait Implementations
impl RefUnwindSafe for BlockGroupItem
impl Send for BlockGroupItem
impl Sync for BlockGroupItem
impl Unpin for BlockGroupItem
impl UnwindSafe for BlockGroupItem
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more