pub struct ScoreHolderFlags(pub u8);
Tuple Fields§
§0: u8
Implementations§
Source§impl ScoreHolderFlags
impl ScoreHolderFlags
pub fn is_multiple(&self) -> bool
pub fn set_multiple(&mut self, value: bool)
Trait Implementations§
Source§impl Clone for ScoreHolderFlags
impl Clone for ScoreHolderFlags
Source§fn clone(&self) -> ScoreHolderFlags
fn clone(&self) -> ScoreHolderFlags
Returns a duplicate 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 ScoreHolderFlags
impl Debug for ScoreHolderFlags
Source§impl Default for ScoreHolderFlags
impl Default for ScoreHolderFlags
Source§fn default() -> ScoreHolderFlags
fn default() -> ScoreHolderFlags
Returns the “default value” for a type. Read more
Source§impl Deserialize for ScoreHolderFlags
impl Deserialize for ScoreHolderFlags
fn mc_deserialize(data: &[u8]) -> DeserializeResult<'_, Self>
Source§impl PartialEq for ScoreHolderFlags
impl PartialEq for ScoreHolderFlags
Source§impl Serialize for ScoreHolderFlags
impl Serialize for ScoreHolderFlags
fn mc_serialize<S: Serializer>(&self, to: &mut S) -> SerializeResult
impl Copy for ScoreHolderFlags
impl Eq for ScoreHolderFlags
impl StructuralPartialEq for ScoreHolderFlags
Auto Trait Implementations§
impl Freeze for ScoreHolderFlags
impl RefUnwindSafe for ScoreHolderFlags
impl Send for ScoreHolderFlags
impl Sync for ScoreHolderFlags
impl Unpin for ScoreHolderFlags
impl UnwindSafe for ScoreHolderFlags
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