#[repr(C, packed(1))]pub struct btrfs_header {
pub csum: [__u8; 32],
pub fsid: [__u8; 16],
pub bytenr: __le64,
pub flags: __le64,
pub chunk_tree_uuid: [__u8; 16],
pub generation: __le64,
pub owner: __le64,
pub nritems: __le32,
pub level: __u8,
}
Fields§
§csum: [__u8; 32]
§fsid: [__u8; 16]
§bytenr: __le64
§flags: __le64
§chunk_tree_uuid: [__u8; 16]
§generation: __le64
§owner: __le64
§nritems: __le32
§level: __u8
Trait Implementations§
Source§impl Clone for btrfs_header
impl Clone for btrfs_header
Source§fn clone(&self) -> btrfs_header
fn clone(&self) -> btrfs_header
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 btrfs_header
impl Debug for btrfs_header
impl Copy for btrfs_header
Auto Trait Implementations§
impl Freeze for btrfs_header
impl RefUnwindSafe for btrfs_header
impl Send for btrfs_header
impl Sync for btrfs_header
impl Unpin for btrfs_header
impl UnwindSafe for btrfs_header
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