Struct squashfs::inode::ExtendedDirectory[][src]

#[repr(C)]
pub struct ExtendedDirectory { pub nlink: u32, pub size: u32, pub block_idx: u32, pub parent_inode: u32, pub inodex_count: u16, pub offset: u16, pub xattr_idx: u32, }

Fields

nlink: u32

The number of hard links to this directory

size: u32

Total (uncompressed) size in bytes of the entries in the Directory Table, including headers

block_idx: u32

The index of the block in the Directory Table where the directory entry information starts

parent_inode: u32

The inode_number of the parent of this directory. If this is the root directory, this will be 1

inodex_count: u16

The number of directory index entries following the inode structure

offset: u16

The (uncompressed) offset within the block in the Directory Table where the directory entry information starts

xattr_idx: u32

An index into the xattr lookup table. Set to 0xFFFFFFFF if the inode has no extended attributes

Trait Implementations

Performs the conversion.

Performs the conversion.

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.