Struct runestick::Protocol[][src]

pub struct Protocol {
    pub name: &'static str,
    pub hash: Hash,
}
Expand description

A built in instance function.

Fields

name: &'static str

The name of the builtin function.

hash: Hash

The hash of the builtin function.

Implementations

Check two types for equality.

The function to access a field.

The function to set a field.

The function to access an index.

The function to set an index.

The function to implement for the addition operation.

The function to implement for the addition assign operation.

The function to implement for the subtraction operation.

The function to implement for the subtraction assign operation.

The function to implement for the multiply operation.

The function to implement for the multiply assign operation.

The function to implement for the division operation.

The function to implement for the division assign operation.

The function to implement for the remainder operation.

The function to implement for the remainder assign operation.

The function to implement for the bitwise and operation.

The function to implement for the bitwise and assign operation.

The function to implement for the bitwise xor operation.

The function to implement for the bitwise xor assign operation.

The function to implement for the bitwise or operation.

The function to implement for the bitwise xor assign operation.

The function to implement for the bitwise shift left operation.

The function to implement for the bitwise shift left assign operation.

The function to implement for the bitwise shift right operation.

The function to implement for the bitwise shift right assign operation.

Protocol function used by template strings.

Protocol function used by custom debug impls.

Function used to convert an argument into an iterator.

The function to call to continue iteration.

Function used to convert an argument into a future.

Function used to convert an argument into a future.

Methods from Deref<Target = Hash>

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

The resulting type after dereferencing.

Dereferences the value.

Formats the value using the given formatter. Read more

Feeds this value into the given Hasher. Read more

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

Generate a locally unique hash to check for conflicts.

Get a human readable name for the function.

Generate a function hash.

Optionally convert into an item, if appropriate.

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

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

Converts the given value to a String. Read more

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.