Struct smbioslib::Handle[][src]

pub struct Handle(pub u16);
Expand description

Structure Handle

Each SMBIOS structure has a handle or instance value associated with it. Some structures will reference other structures by using this value.

Dereference a handle (*handle) to access its u16 value.

Implementations

Handle Size (2 bytes)

Methods from Deref<Target = u16>

Trait Implementations

Formats the value using the given formatter. Read more

The resulting type after dereferencing.

Dereferences the value.

Formats the value using the given formatter. Read more

The associated error which can be returned from parsing.

Parses a string s to return a value of this type. 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.

Converts the given value to a String. Read more

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.