pub enum BannerPatternKindKey<Other = Identifier> {
Show 44 variants
Base,
Border,
Bricks,
Circle,
Creeper,
Cross,
CurlyBorder,
DiagonalLeft,
DiagonalRight,
DiagonalUpLeft,
DiagonalUpRight,
Flow,
Flower,
Globe,
Gradient,
GradientUp,
Guster,
HalfHorizontal,
HalfHorizontalBottom,
HalfVertical,
HalfVerticalRight,
Mojang,
Piglin,
Rhombus,
Skull,
SmallStripes,
SquareBottomLeft,
SquareBottomRight,
SquareTopLeft,
SquareTopRight,
StraightCross,
StripeBottom,
StripeCenter,
StripeDownleft,
StripeDownright,
StripeLeft,
StripeMiddle,
StripeRight,
StripeTop,
TriangleBottom,
TriangleTop,
TrianglesBottom,
TrianglesTop,
Other(Other),
}Variants§
Base
Border
Bricks
Circle
Creeper
Cross
CurlyBorder
DiagonalLeft
DiagonalRight
DiagonalUpLeft
DiagonalUpRight
Flow
Flower
Globe
Gradient
GradientUp
Guster
HalfHorizontal
HalfHorizontalBottom
HalfVertical
HalfVerticalRight
Mojang
Piglin
Rhombus
Skull
SmallStripes
SquareBottomLeft
SquareBottomRight
SquareTopLeft
SquareTopRight
StraightCross
StripeBottom
StripeCenter
StripeDownleft
StripeDownright
StripeLeft
StripeMiddle
StripeRight
StripeTop
TriangleBottom
TriangleTop
TrianglesBottom
TrianglesTop
Other(Other)
Implementations§
Trait Implementations§
Source§impl<Other: Clone> Clone for BannerPatternKindKey<Other>
impl<Other: Clone> Clone for BannerPatternKindKey<Other>
Source§fn clone(&self) -> BannerPatternKindKey<Other>
fn clone(&self) -> BannerPatternKindKey<Other>
Returns a duplicate 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 DataRegistryKey for BannerPatternKindKey
impl DataRegistryKey for BannerPatternKindKey
type Borrow<'a> = BannerPatternKindKey<&'a Identifier>
fn from_ident(ident: Identifier) -> Self
fn into_ident(self) -> Identifier
Source§impl<'a> DataRegistryKeyRef<'a> for BannerPatternKindKey<&'a Identifier>
impl<'a> DataRegistryKeyRef<'a> for BannerPatternKindKey<&'a Identifier>
type Owned = BannerPatternKindKey
fn to_owned(self) -> Self::Owned
fn from_ident(ident: &'a Identifier) -> Self
fn into_ident(self) -> Identifier
Source§impl<Other: Debug> Debug for BannerPatternKindKey<Other>
impl<Other: Debug> Debug for BannerPatternKindKey<Other>
Source§impl<'a> From<&'a Identifier> for BannerPatternKindKey<&'a Identifier>
impl<'a> From<&'a Identifier> for BannerPatternKindKey<&'a Identifier>
Source§fn from(ident: &'a Identifier) -> Self
fn from(ident: &'a Identifier) -> Self
Converts to this type from the input type.
Source§impl From<BannerPatternKindKey<&Identifier>> for Identifier
impl From<BannerPatternKindKey<&Identifier>> for Identifier
Source§fn from(registry: BannerPatternKindKey<&Identifier>) -> Self
fn from(registry: BannerPatternKindKey<&Identifier>) -> Self
Converts to this type from the input type.
Source§impl From<BannerPatternKindKey> for Identifier
impl From<BannerPatternKindKey> for Identifier
Source§fn from(registry: BannerPatternKindKey) -> Self
fn from(registry: BannerPatternKindKey) -> Self
Converts to this type from the input type.
Source§impl From<Identifier> for BannerPatternKindKey
impl From<Identifier> for BannerPatternKindKey
Source§fn from(ident: Identifier) -> Self
fn from(ident: Identifier) -> Self
Converts to this type from the input type.
Source§impl FromNbtTag for BannerPatternKindKey
impl FromNbtTag for BannerPatternKindKey
fn from_nbt_tag(tag: NbtTag<'_, '_>) -> Option<Self>
fn from_optional_nbt_tag( tag: Option<NbtTag<'_, '_>>, ) -> Result<Option<Self>, DeserializeError>
Source§impl<Other: Hash> Hash for BannerPatternKindKey<Other>
impl<Other: Hash> Hash for BannerPatternKindKey<Other>
Source§impl<Other: PartialEq> PartialEq for BannerPatternKindKey<Other>
impl<Other: PartialEq> PartialEq for BannerPatternKindKey<Other>
impl<Other: Eq> Eq for BannerPatternKindKey<Other>
impl<Other> StructuralPartialEq for BannerPatternKindKey<Other>
Auto Trait Implementations§
impl<Other> Freeze for BannerPatternKindKey<Other>where
Other: Freeze,
impl<Other> RefUnwindSafe for BannerPatternKindKey<Other>where
Other: RefUnwindSafe,
impl<Other> Send for BannerPatternKindKey<Other>where
Other: Send,
impl<Other> Sync for BannerPatternKindKey<Other>where
Other: Sync,
impl<Other> Unpin for BannerPatternKindKey<Other>where
Other: Unpin,
impl<Other> UnsafeUnpin for BannerPatternKindKey<Other>where
Other: UnsafeUnpin,
impl<Other> UnwindSafe for BannerPatternKindKey<Other>where
Other: UnwindSafe,
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.