Struct mft::attribute::x90::IndexRootAttr
source · pub struct IndexRootAttr {
pub attribute_type: u32,
pub collation_rule: u32,
pub index_entry_size: u32,
pub index_entry_number_of_cluster_blocks: u32,
}
Expand description
$IndexRoot Attribute
Fields§
§attribute_type: u32
Unique Id assigned to file
collation_rule: u32
Collation rule used to sort the index entries. If type is $FILENAME, this must be COLLATION_FILENAME
index_entry_size: u32
The index entry size
index_entry_number_of_cluster_blocks: u32
The index entry number of cluster blocks
Implementations§
source§impl IndexRootAttr
impl IndexRootAttr
sourcepub fn from_stream<S: Read + Seek>(stream: &mut S) -> Result<IndexRootAttr>
pub fn from_stream<S: Read + Seek>(stream: &mut S) -> Result<IndexRootAttr>
Data size should be either 16 or 64
Trait Implementations§
source§impl Clone for IndexRootAttr
impl Clone for IndexRootAttr
source§fn clone(&self) -> IndexRootAttr
fn clone(&self) -> IndexRootAttr
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 more