pub struct PCR {
    pub head_num: U1,
    pub site_num: U1,
    pub part_cnt: U4,
    pub rtst_cnt: U4,
    pub abrt_cnt: U4,
    pub good_cnt: U4,
    pub func_cnt: U4,
}

Fields

head_num: U1site_num: U1part_cnt: U4rtst_cnt: U4abrt_cnt: U4good_cnt: U4func_cnt: U4

Implementations

Trait Implementations

Formats the value using the given formatter. Read more

Return PCR { head_num: Default::default(), site_num: Default::default(), part_cnt: Default::default(), rtst_cnt: 4_294_967_295, abrt_cnt: 4_294_967_295, good_cnt: 4_294_967_295, func_cnt: 4_294_967_295 }

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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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.