pub struct Protocol {
pub name: &'static str,
pub hash: Hash,
}
Expand description
A built in instance function.
The name of the builtin function.
The hash of the builtin function.
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.
Performs copy-assignment from source
. Read more
Formats the value using the given formatter. Read more
The resulting type after dereferencing.
Formats the value using the given formatter. 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 !=
.
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T> CallHasher for T where
T: Hash,
impl<T, U> Into<U> for T where
U: From<T>,
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.
The type returned in the event of a conversion error.