pub struct BannerPattern {
pub asset_id: String,
pub translation_key: String,
}Fields§
§asset_id: StringThe texture identifier (e.g., “minecraft:flower”).
translation_key: StringThe translation key for the pattern name (e.g., “block.minecraft.banner.flower”).
Trait Implementations§
Source§impl Clone for BannerPattern
impl Clone for BannerPattern
Source§fn clone(&self) -> BannerPattern
fn clone(&self) -> BannerPattern
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 Debug for BannerPattern
impl Debug for BannerPattern
Source§impl<'a> Decode<'a> for BannerPattern
impl<'a> Decode<'a> for BannerPattern
Source§impl Encode for BannerPattern
impl Encode for BannerPattern
Source§impl PartialEq for BannerPattern
impl PartialEq for BannerPattern
impl StructuralPartialEq for BannerPattern
Auto Trait Implementations§
impl Freeze for BannerPattern
impl RefUnwindSafe for BannerPattern
impl Send for BannerPattern
impl Sync for BannerPattern
impl Unpin for BannerPattern
impl UnwindSafe for BannerPattern
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