Enum peppi::game::ShieldDrop
source · #[repr(u32)]pub enum ShieldDrop {
Ucf = 1,
Arduino = 2,
}
Expand description
Shield drop fix type.
Variants§
Trait Implementations§
source§impl Clone for ShieldDrop
impl Clone for ShieldDrop
source§fn clone(&self) -> ShieldDrop
fn clone(&self) -> ShieldDrop
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 ShieldDrop
impl Debug for ShieldDrop
source§impl PartialEq for ShieldDrop
impl PartialEq for ShieldDrop
source§fn eq(&self, other: &ShieldDrop) -> bool
fn eq(&self, other: &ShieldDrop) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ShieldDrop
impl Serialize for ShieldDrop
source§impl TryFrom<u32> for ShieldDrop
impl TryFrom<u32> for ShieldDrop
§type Error = TryFromPrimitiveError<ShieldDrop>
type Error = TryFromPrimitiveError<ShieldDrop>
The type returned in the event of a conversion error.
source§impl TryFromPrimitive for ShieldDrop
impl TryFromPrimitive for ShieldDrop
type Primitive = u32
type Error = TryFromPrimitiveError<ShieldDrop>
const NAME: &'static str = "ShieldDrop"
fn try_from_primitive( number: Self::Primitive ) -> Result<Self, TryFromPrimitiveError<Self>>
impl Copy for ShieldDrop
impl Eq for ShieldDrop
impl StructuralPartialEq for ShieldDrop
Auto Trait Implementations§
impl Freeze for ShieldDrop
impl RefUnwindSafe for ShieldDrop
impl Send for ShieldDrop
impl Sync for ShieldDrop
impl Unpin for ShieldDrop
impl UnwindSafe for ShieldDrop
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
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.