Struct cretonne_codegen::isa::registers::RegClassIndex [] [src]

pub struct RegClassIndex(_);

A small reference to a register class.

Use this when storing register classes in compact data structures. The RegInfo::rc() method can be used to get the real register class reference back.

Trait Implementations

impl Clone for RegClassIndex
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for RegClassIndex
[src]

impl Debug for RegClassIndex
[src]

[src]

Formats the value using the given formatter. Read more

impl PartialEq for RegClassIndex
[src]

[src]

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

[src]

This method tests for !=.

impl Eq for RegClassIndex
[src]

impl EntityRef for RegClassIndex
[src]

[src]

Create a new entity reference from a small integer. This should crash if the requested index is not representable. Read more

[src]

Get the index that was used to create this entity reference.

impl From<RegClass> for RegClassIndex
[src]

[src]

Performs the conversion.

impl Display for RegClassIndex
[src]

[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for RegClassIndex

impl Sync for RegClassIndex