Enum ParticleStatus
#[non_exhaustive]pub enum ParticleStatus {
All,
Decreased,
Minimal,
}Expand description
ParticleStatus: how many particles a client shows.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
§impl Clone for ParticleStatus
impl Clone for ParticleStatus
§fn clone(&self) -> ParticleStatus
fn clone(&self) -> ParticleStatus
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ParticleStatus
§impl Debug for ParticleStatus
impl Debug for ParticleStatus
impl Eq for ParticleStatus
§impl PartialEq for ParticleStatus
impl PartialEq for ParticleStatus
impl StructuralPartialEq for ParticleStatus
Auto Trait Implementations§
impl Freeze for ParticleStatus
impl RefUnwindSafe for ParticleStatus
impl Send for ParticleStatus
impl Sync for ParticleStatus
impl Unpin for ParticleStatus
impl UnsafeUnpin for ParticleStatus
impl UnwindSafe for ParticleStatus
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