[−][src]Struct runestick::Protocol
A built in instance function.
Fields
name: &'static str
The name of the builtin function.
hash: Hash
The hash of the builtin function.
Implementations
impl Protocol
[src]
pub const EQ: Protocol
[src]
Check two types for equality.
pub const GET: Protocol
[src]
The function to access a field.
pub const SET: Protocol
[src]
The function to set a field.
pub const INDEX_GET: Protocol
[src]
The function to access an index.
pub const INDEX_SET: Protocol
[src]
The function to set an index.
pub const ADD: Protocol
[src]
The function to implement for the addition operation.
pub const ADD_ASSIGN: Protocol
[src]
The function to implement for the addition assign operation.
pub const SUB: Protocol
[src]
The function to implement for the subtraction operation.
pub const SUB_ASSIGN: Protocol
[src]
The function to implement for the subtraction assign operation.
pub const MUL: Protocol
[src]
The function to implement for the multiply operation.
pub const MUL_ASSIGN: Protocol
[src]
The function to implement for the multiply assign operation.
pub const DIV: Protocol
[src]
The function to implement for the division operation.
pub const DIV_ASSIGN: Protocol
[src]
The function to implement for the division assign operation.
pub const REM: Protocol
[src]
The function to implement for the remainder operation.
pub const REM_ASSIGN: Protocol
[src]
The function to implement for the remainder assign operation.
pub const BIT_AND: Protocol
[src]
The function to implement for the bitwise and operation.
pub const BIT_AND_ASSIGN: Protocol
[src]
The function to implement for the bitwise and assign operation.
pub const BIT_XOR: Protocol
[src]
The function to implement for the bitwise xor operation.
pub const BIT_XOR_ASSIGN: Protocol
[src]
The function to implement for the bitwise xor assign operation.
pub const BIT_OR: Protocol
[src]
The function to implement for the bitwise or operation.
pub const BIT_OR_ASSIGN: Protocol
[src]
The function to implement for the bitwise xor assign operation.
pub const SHL: Protocol
[src]
The function to implement for the bitwise shift left operation.
pub const SHL_ASSIGN: Protocol
[src]
The function to implement for the bitwise shift left assign operation.
pub const SHR: Protocol
[src]
The function to implement for the bitwise shift right operation.
pub const SHR_ASSIGN: Protocol
[src]
The function to implement for the bitwise shift right assign operation.
pub const STRING_DISPLAY: Protocol
[src]
Protocol function used by template strings.
pub const STRING_DEBUG: Protocol
[src]
Protocol function used by custom debug impls.
pub const INTO_ITER: Protocol
[src]
Function used to convert an argument into an iterator.
pub const NEXT: Protocol
[src]
The function to call to continue iteration.
pub const INTO_FUTURE: Protocol
[src]
Function used to convert an argument into a future.
pub const INTO_TYPE_NAME: Protocol
[src]
Function used to convert an argument into a future.
Methods from Deref<Target = Hash>
Trait Implementations
impl Clone for Protocol
[src]
impl Copy for Protocol
[src]
impl Debug for Protocol
[src]
impl Deref for Protocol
[src]
impl Display for Protocol
[src]
impl Eq for Protocol
[src]
impl Hash for Protocol
[src]
pub fn hash<H: Hasher>(&self, state: &mut H)
[src]
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl InstFnNameHash for Protocol
[src]
impl IntoTypeHash for Protocol
[src]
impl PartialEq<Protocol> for Protocol
[src]
Auto Trait Implementations
impl RefUnwindSafe for Protocol
[src]
impl Send for Protocol
[src]
impl Sync for Protocol
[src]
impl Unpin for Protocol
[src]
impl UnwindSafe for Protocol
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> CallHasher for T where
T: Hash,
T: Hash,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,