#[repr(u8)]
pub enum block_state_property_value {
Show 109 variants d_0 = 0, d_1 = 1, d_10 = 2, d_11 = 3, d_12 = 4, d_13 = 5, d_14 = 6, d_15 = 7, d_16 = 8, d_17 = 9, d_18 = 10, d_19 = 11, d_2 = 12, d_20 = 13, d_21 = 14, d_22 = 15, d_23 = 16, d_24 = 17, d_25 = 18, d_3 = 19, d_4 = 20, d_5 = 21, d_6 = 22, d_7 = 23, d_8 = 24, d_9 = 25, ascending_east = 26, ascending_north = 27, ascending_south = 28, ascending_west = 29, banjo = 30, basedrum = 31, bass = 32, bell = 33, bit = 34, bottom = 35, ceiling = 36, chime = 37, compare = 38, corner = 39, cow_bell = 40, data = 41, didgeridoo = 42, double = 43, double_wall = 44, down = 45, down_east = 46, down_north = 47, down_south = 48, down_west = 49, east = 50, east_up = 51, east_west = 52, false = 53, floor = 54, flute = 55, foot = 56, guitar = 57, harp = 58, hat = 59, head = 60, inner_left = 61, inner_right = 62, iron_xylophone = 63, large = 64, left = 65, load = 66, low = 67, lower = 68, none = 69, normal = 70, north = 71, north_east = 72, north_south = 73, north_up = 74, north_west = 75, outer_left = 76, outer_right = 77, pling = 78, right = 79, save = 80, side = 81, single = 82, single_wall = 83, small = 84, snare = 85, south = 86, south_east = 87, south_up = 88, south_west = 89, sticky = 90, straight = 91, subtract = 92, tall = 93, top = 94, true = 95, up = 96, up_east = 97, up_north = 98, up_south = 99, up_west = 100, upper = 101, wall = 102, west = 103, west_up = 104, x = 105, xylophone = 106, y = 107, z = 108,
}

Variants§

§

d_0 = 0

§

d_1 = 1

§

d_10 = 2

§

d_11 = 3

§

d_12 = 4

§

d_13 = 5

§

d_14 = 6

§

d_15 = 7

§

d_16 = 8

§

d_17 = 9

§

d_18 = 10

§

d_19 = 11

§

d_2 = 12

§

d_20 = 13

§

d_21 = 14

§

d_22 = 15

§

d_23 = 16

§

d_24 = 17

§

d_25 = 18

§

d_3 = 19

§

d_4 = 20

§

d_5 = 21

§

d_6 = 22

§

d_7 = 23

§

d_8 = 24

§

d_9 = 25

§

ascending_east = 26

§

ascending_north = 27

§

ascending_south = 28

§

ascending_west = 29

§

banjo = 30

§

basedrum = 31

§

bass = 32

§

bell = 33

§

bit = 34

§

bottom = 35

§

ceiling = 36

§

chime = 37

§

compare = 38

§

corner = 39

§

cow_bell = 40

§

data = 41

§

didgeridoo = 42

§

double = 43

§

double_wall = 44

§

down = 45

§

down_east = 46

§

down_north = 47

§

down_south = 48

§

down_west = 49

§

east = 50

§

east_up = 51

§

east_west = 52

§

false = 53

§

floor = 54

§

flute = 55

§

foot = 56

§

guitar = 57

§

harp = 58

§

hat = 59

§

head = 60

§

inner_left = 61

§

inner_right = 62

§

iron_xylophone = 63

§

large = 64

§

left = 65

§

load = 66

§

low = 67

§

lower = 68

§

none = 69

§

normal = 70

§

north = 71

§

north_east = 72

§

north_south = 73

§

north_up = 74

§

north_west = 75

§

outer_left = 76

§

outer_right = 77

§

pling = 78

§

right = 79

§

save = 80

§

side = 81

§

single = 82

§

single_wall = 83

§

small = 84

§

snare = 85

§

south = 86

§

south_east = 87

§

south_up = 88

§

south_west = 89

§

sticky = 90

§

straight = 91

§

subtract = 92

§

tall = 93

§

top = 94

§

true = 95

§

up = 96

§

up_east = 97

§

up_north = 98

§

up_south = 99

§

up_west = 100

§

upper = 101

§

wall = 102

§

west = 103

§

west_up = 104

§

x = 105

§

xylophone = 106

§

y = 107

§

z = 108

Implementations§

source§

impl block_state_property_value

source

pub const fn id(self) -> u8

source

pub const fn new(x: u8) -> Self

source§

impl block_state_property_value

source

pub const MAX: usize = 108usize

source§

impl block_state_property_value

source

pub const fn name(self) -> &'static str

source

pub fn parse(name: &[u8]) -> Option<Self>

Trait Implementations§

source§

impl Clone for block_state_property_value

source§

fn clone(&self) -> block_state_property_value

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for block_state_property_value

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for block_state_property_value

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Hash for block_state_property_value

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl PartialEq for block_state_property_value

source§

fn eq(&self, other: &block_state_property_value) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl Copy for block_state_property_value

source§

impl Eq for block_state_property_value

source§

impl StructuralPartialEq for block_state_property_value

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for T
where T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.