Struct mft::attribute::header::ResidentHeader
source · pub struct ResidentHeader {
pub data_size: u32,
pub data_offset: u16,
pub index_flag: u8,
pub padding: u8,
}
Fields§
§data_size: u32
The size of the attribute value, in bytes.
data_offset: u16
The offset to the value from the start of the attribute record, in bytes.
index_flag: u8
§padding: u8
Implementations§
source§impl ResidentHeader
impl ResidentHeader
pub fn from_stream<R: Read>(reader: &mut R) -> Result<ResidentHeader>
Trait Implementations§
source§impl Clone for ResidentHeader
impl Clone for ResidentHeader
source§fn clone(&self) -> ResidentHeader
fn clone(&self) -> ResidentHeader
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