[][src]Struct pelite::rich_structure::RichRecord

#[repr(C)]
pub struct RichRecord {
    pub build: u16,
    pub product: u16,
    pub count: u32,
}

Rich record.

Rich records contain a product identifier and its build number. The count value indicates how many .obj files were linked generated by the product.

Fields

build: u16product: u16count: u32

Methods

impl RichRecord[src]

pub fn decode(key: u32, values: &[u32; 2]) -> RichRecord[src]

Decodes the record with the given key.

pub fn encode(&self, key: u32) -> [u32; 2][src]

Encodes the record with the given key.

Trait Implementations

impl Eq for RichRecord[src]

impl Default for RichRecord[src]

impl Clone for RichRecord[src]

impl PartialEq<RichRecord> for RichRecord[src]

impl Copy for RichRecord[src]

impl Debug for RichRecord[src]

impl Serialize for RichRecord[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]