Struct debris_backends::datapack::function_context::FunctionId
source · pub(super) struct FunctionId(usize);
Tuple Fields§
§0: usize
Trait Implementations§
source§impl Clone for FunctionId
impl Clone for FunctionId
source§fn clone(&self) -> FunctionId
fn clone(&self) -> FunctionId
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for FunctionId
impl Debug for FunctionId
source§impl Default for FunctionId
impl Default for FunctionId
source§fn default() -> FunctionId
fn default() -> FunctionId
Returns the “default value” for a type. Read more
source§impl Hash for FunctionId
impl Hash for FunctionId
source§impl PartialEq for FunctionId
impl PartialEq for FunctionId
source§fn eq(&self, other: &FunctionId) -> bool
fn eq(&self, other: &FunctionId) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for FunctionId
impl Eq for FunctionId
impl StructuralEq for FunctionId
impl StructuralPartialEq for FunctionId
Auto Trait Implementations§
impl RefUnwindSafe for FunctionId
impl Send for FunctionId
impl Sync for FunctionId
impl Unpin for FunctionId
impl UnwindSafe for FunctionId
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.