#[repr(u8)]pub enum PlaceableBlock {
Air = 0,
}
Variants§
Air = 0
Trait Implementations§
Source§impl Clone for PlaceableBlock
impl Clone for PlaceableBlock
Source§fn clone(&self) -> PlaceableBlock
fn clone(&self) -> PlaceableBlock
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 PlaceableBlock
impl Debug for PlaceableBlock
Source§impl Default for PlaceableBlock
impl Default for PlaceableBlock
Source§fn default() -> PlaceableBlock
fn default() -> PlaceableBlock
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PlaceableBlock
impl<'de> Deserialize<'de> for PlaceableBlock
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<PlaceableBlock> for Block
impl From<PlaceableBlock> for Block
Source§fn from(block: PlaceableBlock) -> Self
fn from(block: PlaceableBlock) -> Self
Converts to this type from the input type.
Source§impl Hash for PlaceableBlock
impl Hash for PlaceableBlock
Source§impl Ord for PlaceableBlock
impl Ord for PlaceableBlock
Source§fn cmp(&self, other: &PlaceableBlock) -> Ordering
fn cmp(&self, other: &PlaceableBlock) -> 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 PlaceableBlock
impl PartialEq for PlaceableBlock
Source§impl PartialOrd for PlaceableBlock
impl PartialOrd for PlaceableBlock
Source§impl Serialize for PlaceableBlock
impl Serialize for PlaceableBlock
impl Copy for PlaceableBlock
impl Eq for PlaceableBlock
impl StructuralPartialEq for PlaceableBlock
Auto Trait Implementations§
impl Freeze for PlaceableBlock
impl RefUnwindSafe for PlaceableBlock
impl Send for PlaceableBlock
impl Sync for PlaceableBlock
impl Unpin for PlaceableBlock
impl UnwindSafe for PlaceableBlock
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