#[repr(u8)]pub enum SpecialBlock {
Player = 0,
}
Variants§
Player = 0
Trait Implementations§
Source§impl Clone for SpecialBlock
impl Clone for SpecialBlock
Source§fn clone(&self) -> SpecialBlock
fn clone(&self) -> SpecialBlock
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 SpecialBlock
impl Debug for SpecialBlock
Source§impl Default for SpecialBlock
impl Default for SpecialBlock
Source§fn default() -> SpecialBlock
fn default() -> SpecialBlock
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SpecialBlock
impl<'de> Deserialize<'de> for SpecialBlock
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<SpecialBlock> for Block
impl From<SpecialBlock> for Block
Source§fn from(block: SpecialBlock) -> Self
fn from(block: SpecialBlock) -> Self
Converts to this type from the input type.
Source§impl Hash for SpecialBlock
impl Hash for SpecialBlock
Source§impl Ord for SpecialBlock
impl Ord for SpecialBlock
Source§fn cmp(&self, other: &SpecialBlock) -> Ordering
fn cmp(&self, other: &SpecialBlock) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for SpecialBlock
impl PartialEq for SpecialBlock
Source§impl PartialOrd for SpecialBlock
impl PartialOrd for SpecialBlock
Source§impl Serialize for SpecialBlock
impl Serialize for SpecialBlock
impl Copy for SpecialBlock
impl Eq for SpecialBlock
impl StructuralPartialEq for SpecialBlock
Auto Trait Implementations§
impl Freeze for SpecialBlock
impl RefUnwindSafe for SpecialBlock
impl Send for SpecialBlock
impl Sync for SpecialBlock
impl Unpin for SpecialBlock
impl UnwindSafe for SpecialBlock
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