#[repr(u32)]pub enum WorldgenFoliagePlacerKind {
BlobFoliagePlacer = 0,
SpruceFoliagePlacer = 1,
PineFoliagePlacer = 2,
AcaciaFoliagePlacer = 3,
BushFoliagePlacer = 4,
FancyFoliagePlacer = 5,
JungleFoliagePlacer = 6,
MegaPineFoliagePlacer = 7,
DarkOakFoliagePlacer = 8,
RandomSpreadFoliagePlacer = 9,
CherryFoliagePlacer = 10,
}
Variants§
BlobFoliagePlacer = 0
SpruceFoliagePlacer = 1
PineFoliagePlacer = 2
AcaciaFoliagePlacer = 3
BushFoliagePlacer = 4
FancyFoliagePlacer = 5
JungleFoliagePlacer = 6
MegaPineFoliagePlacer = 7
DarkOakFoliagePlacer = 8
RandomSpreadFoliagePlacer = 9
CherryFoliagePlacer = 10
Implementations§
Source§impl WorldgenFoliagePlacerKind
impl WorldgenFoliagePlacerKind
Sourcepub unsafe fn from_u32_unchecked(id: u32) -> Self
pub unsafe fn from_u32_unchecked(id: u32) -> Self
pub fn is_valid_id(id: u32) -> bool
Trait Implementations§
Source§impl AzaleaRead for WorldgenFoliagePlacerKind
impl AzaleaRead for WorldgenFoliagePlacerKind
Source§impl AzaleaWrite for WorldgenFoliagePlacerKind
impl AzaleaWrite for WorldgenFoliagePlacerKind
Source§impl Clone for WorldgenFoliagePlacerKind
impl Clone for WorldgenFoliagePlacerKind
Source§fn clone(&self) -> WorldgenFoliagePlacerKind
fn clone(&self) -> WorldgenFoliagePlacerKind
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for WorldgenFoliagePlacerKind
impl Debug for WorldgenFoliagePlacerKind
Source§impl<'de> Deserialize<'de> for WorldgenFoliagePlacerKind
impl<'de> Deserialize<'de> for WorldgenFoliagePlacerKind
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 Display for WorldgenFoliagePlacerKind
impl Display for WorldgenFoliagePlacerKind
Source§impl FromNbtTag for WorldgenFoliagePlacerKind
impl FromNbtTag for WorldgenFoliagePlacerKind
fn from_nbt_tag(tag: NbtTag<'_, '_>) -> Option<Self>
fn from_optional_nbt_tag( tag: Option<NbtTag<'_, '_>>, ) -> Result<Option<Self>, DeserializeError>
Source§impl FromStr for WorldgenFoliagePlacerKind
impl FromStr for WorldgenFoliagePlacerKind
Source§impl Hash for WorldgenFoliagePlacerKind
impl Hash for WorldgenFoliagePlacerKind
Source§impl PartialEq for WorldgenFoliagePlacerKind
impl PartialEq for WorldgenFoliagePlacerKind
Source§fn eq(&self, other: &WorldgenFoliagePlacerKind) -> bool
fn eq(&self, other: &WorldgenFoliagePlacerKind) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Source§impl Registry for WorldgenFoliagePlacerKind
impl Registry for WorldgenFoliagePlacerKind
Source§impl ToNbtTag for WorldgenFoliagePlacerKind
impl ToNbtTag for WorldgenFoliagePlacerKind
fn to_nbt_tag(self) -> NbtTag
fn to_optional_nbt_tag(self) -> Option<NbtTag>
Source§impl TryFrom<u32> for WorldgenFoliagePlacerKind
impl TryFrom<u32> for WorldgenFoliagePlacerKind
impl Copy for WorldgenFoliagePlacerKind
impl Eq for WorldgenFoliagePlacerKind
impl StructuralPartialEq for WorldgenFoliagePlacerKind
Auto Trait Implementations§
impl Freeze for WorldgenFoliagePlacerKind
impl RefUnwindSafe for WorldgenFoliagePlacerKind
impl Send for WorldgenFoliagePlacerKind
impl Sync for WorldgenFoliagePlacerKind
impl Unpin for WorldgenFoliagePlacerKind
impl UnwindSafe for WorldgenFoliagePlacerKind
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