Struct debris_backends::common::FunctionIdent
source · pub struct FunctionIdent {
pub namespace: Rc<str>,
pub path: String,
pub is_collection: bool,
}
Expand description
A unique minecraft function identifier
Fields§
§namespace: Rc<str>
The namespace of this function, for example debris
path: String
The path of this function, for example foo/bar/baz
is_collection: bool
Whether this function is a collection, marked by a #
Trait Implementations§
source§impl Debug for FunctionIdent
impl Debug for FunctionIdent
source§impl Display for FunctionIdent
impl Display for FunctionIdent
source§impl Hash for FunctionIdent
impl Hash for FunctionIdent
source§impl PartialEq for FunctionIdent
impl PartialEq for FunctionIdent
source§fn eq(&self, other: &FunctionIdent) -> bool
fn eq(&self, other: &FunctionIdent) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for FunctionIdent
impl StructuralEq for FunctionIdent
impl StructuralPartialEq for FunctionIdent
Auto Trait Implementations§
impl RefUnwindSafe for FunctionIdent
impl !Send for FunctionIdent
impl !Sync for FunctionIdent
impl Unpin for FunctionIdent
impl UnwindSafe for FunctionIdent
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.