pub struct DescriptorBuilder { /* private fields */ }
Expand description

Makes building descriptors easier (hopefully).

Implementations

The segment limit is interpreted in 4-KByte units if this is set.

Indicates whether the segment is present in memory (set) or not present (clear).

Specifies the privilege level of the segment.

Toggle the AVL bit.

Set default operation size (false for 16bit segment, true for 32bit segments).

Set L bit if this descriptor is a 64-bit code segment. In IA-32e mode, bit 21 of the second doubleword of the segment descriptor indicates whether a code segment contains native 64-bit code. A value of 1 indicates instructions in this code segment are executed in 64-bit mode.

Set a the interrupt stack table index (only if this ends up being a 64-bit interrupt descriptor).

Trait Implementations

Formats the value using the given formatter. 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

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.