Enum debris_llir::minecraft_utils::Scoreboard
source · pub enum Scoreboard {
Main,
Custom(usize),
Internal(usize),
}
Expand description
Identifies a specific scoreboard
Debris has one main scoreboard and an arbitrary amount of custom scoreboards
Variants§
Main
The Main scoreboard, where all operations are per default
Custom(usize)
Custom scoreboards, each with a unique identifier
Internal(usize)
Special scoreboards used for internal tracking
Trait Implementations§
source§impl Clone for Scoreboard
impl Clone for Scoreboard
source§fn clone(&self) -> Scoreboard
fn clone(&self) -> Scoreboard
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 Scoreboard
impl Debug for Scoreboard
source§impl Display for Scoreboard
impl Display for Scoreboard
source§impl Hash for Scoreboard
impl Hash for Scoreboard
source§impl PartialEq for Scoreboard
impl PartialEq for Scoreboard
source§fn eq(&self, other: &Scoreboard) -> bool
fn eq(&self, other: &Scoreboard) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for Scoreboard
impl Eq for Scoreboard
impl StructuralEq for Scoreboard
impl StructuralPartialEq for Scoreboard
Auto Trait Implementations§
impl RefUnwindSafe for Scoreboard
impl Send for Scoreboard
impl Sync for Scoreboard
impl Unpin for Scoreboard
impl UnwindSafe for Scoreboard
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.