Struct otdrs::types::MapBlock[][src]

pub struct MapBlock<'a> {
    pub revision_number: u16,
    pub block_size: i32,
    pub block_count: i16,
    pub block_info: Vec<BlockInfo<'a>>,
}
Expand description

Every SOR file has a MapBlock which acts as a map to the file’s contents

Fields

revision_number: u16

Revision number - major (3 digits), minor, cosmetic - for the file as a whole

block_size: i32

Block size for the map block

block_count: i16

Number of blocks in the file

block_info: Vec<BlockInfo<'a>>

Information on all the blocks in this file

Trait Implementations

Formats the value using the given formatter. Read more

Feeds this value into the given Hasher. Read more

Feeds a slice of this type into the given Hasher. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Serialize this value into the given Serde serializer. 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 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.