#[repr(transparent)]
pub struct Dr7Value { /* private fields */ }
Expand description

A valid value of the Dr7 debug register.

In addition to the Dr7Flags this value has a condition field and a size field for each debug address register.

Implementations

Convert from underlying bit representation, unless that representation contains bits that do not correspond to a field.

Convert from underlying bit representation, dropping any bits that do not correspond to fields.

Convert from underlying bit representation, preserving all bits (even those not corresponding to a defined field).

Safety

The bit representation must be a valid Dr7Value.

Returns the raw value of the fields currently stored.

Returns the Dr7Flags in this value.

Inserts the specified Dr7Flags in-place.

Removes the specified Dr7Flags in-place.

Toggles the specified Dr7Flags in-place.

Inserts or removes the specified Dr7Flags depending on the passed value.

Returns the condition field of a debug address register.

Sets the condition field of a debug address register.

Returns the size field of a debug address register.

Sets the size field of a debug address register.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Converts to this type from the input type.

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

This method tests for !=.

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.