Enum minecraft_data::banner_pattern
source · #[repr(u8)]pub enum banner_pattern {
Show 41 variants
base = 0,
square_bottom_left = 1,
square_bottom_right = 2,
square_top_left = 3,
square_top_right = 4,
stripe_bottom = 5,
stripe_top = 6,
stripe_left = 7,
stripe_right = 8,
stripe_center = 9,
stripe_middle = 10,
stripe_downright = 11,
stripe_downleft = 12,
small_stripes = 13,
cross = 14,
straight_cross = 15,
triangle_bottom = 16,
triangle_top = 17,
triangles_bottom = 18,
triangles_top = 19,
diagonal_left = 20,
diagonal_up_right = 21,
diagonal_up_left = 22,
diagonal_right = 23,
circle = 24,
rhombus = 25,
half_vertical = 26,
half_horizontal = 27,
half_vertical_right = 28,
half_horizontal_bottom = 29,
border = 30,
curly_border = 31,
gradient = 32,
gradient_up = 33,
bricks = 34,
globe = 35,
creeper = 36,
skull = 37,
flower = 38,
mojang = 39,
piglin = 40,
}Variants§
base = 0
square_bottom_left = 1
square_bottom_right = 2
square_top_left = 3
square_top_right = 4
stripe_bottom = 5
stripe_top = 6
stripe_left = 7
stripe_right = 8
stripe_center = 9
stripe_middle = 10
stripe_downright = 11
stripe_downleft = 12
small_stripes = 13
cross = 14
straight_cross = 15
triangle_bottom = 16
triangle_top = 17
triangles_bottom = 18
triangles_top = 19
diagonal_left = 20
diagonal_up_right = 21
diagonal_up_left = 22
diagonal_right = 23
circle = 24
rhombus = 25
half_vertical = 26
half_horizontal = 27
half_vertical_right = 28
half_horizontal_bottom = 29
border = 30
curly_border = 31
gradient = 32
gradient_up = 33
bricks = 34
globe = 35
creeper = 36
skull = 37
flower = 38
mojang = 39
piglin = 40
Implementations§
Trait Implementations§
source§fn clone(&self) -> banner_pattern
fn clone(&self) -> banner_pattern
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§fn eq(&self, other: &banner_pattern) -> bool
fn eq(&self, other: &banner_pattern) -> bool
This method tests for
self and other values to be equal, and is used
by ==.Auto Trait Implementations§
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