Struct ruspiro_arch_aarch64::RegisterField[][src]

pub struct RegisterField<T> where
    T: RegisterType
{ /* fields omitted */ }
Expand description

Definition of a field contained inside of a register. Each field is defined by a mask and the bit shift value when constructing the field definition the stored mask is already shifted by the shift value

Implementations

Create a new register field definition with the mask and the shift offset for this mask. The offset is the bit offset this field begins.

retrieve the current mask of the field shifted to its correct position

retrieve the current shift of the field

Create a new register field definition with the mask and the shift offset for this mask. The offset is the bit offset this field begins.

retrieve the current mask of the field shifted to its correct position

retrieve the current shift of the field

Create a new register field definition with the mask and the shift offset for this mask. The offset is the bit offset this field begins.

retrieve the current mask of the field shifted to its correct position

retrieve the current shift of the field

Create a new register field definition with the mask and the shift offset for this mask. The offset is the bit offset this field begins.

retrieve the current mask of the field shifted to its correct position

retrieve the current shift of the field

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

Formats the value using the given formatter. Read more

Formats the value using the given formatter. Read more

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

Performs the conversion.

Performs the conversion.

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.