Struct cretonne_codegen::ir::entities::FuncRef [] [src]

pub struct FuncRef(_);

A reference to an external function.

Methods

impl FuncRef
[src]

[src]

Create a new external function reference from its number.

This method is for use by the parser.

Trait Implementations

impl Copy for FuncRef
[src]

impl Clone for FuncRef
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for FuncRef
[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 FuncRef
[src]

impl Hash for FuncRef
[src]

[src]

Feeds this value into the given [Hasher]. Read more

1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl EntityRef for FuncRef

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

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

impl ReservedValue for FuncRef

Create an instance of the reserved value.

impl Display for FuncRef

Formats the value using the given formatter. Read more

impl Debug for FuncRef

Formats the value using the given formatter. Read more

impl From<FuncRef> for AnyEntity
[src]

[src]

Performs the conversion.

Auto Trait Implementations

impl Send for FuncRef

impl Sync for FuncRef