#[repr(u8)]pub enum command_argument_type {
Show 50 variants
bool = 0,
float = 1,
double = 2,
integer = 3,
long = 4,
string = 5,
entity = 6,
game_profile = 7,
block_pos = 8,
column_pos = 9,
vec3 = 10,
vec2 = 11,
block_state = 12,
block_predicate = 13,
item_stack = 14,
item_predicate = 15,
color = 16,
component = 17,
style = 18,
message = 19,
nbt_compound_tag = 20,
nbt_tag = 21,
nbt_path = 22,
objective = 23,
objective_criteria = 24,
operation = 25,
particle = 26,
angle = 27,
rotation = 28,
scoreboard_slot = 29,
score_holder = 30,
swizzle = 31,
team = 32,
item_slot = 33,
resource_location = 34,
function = 35,
entity_anchor = 36,
int_range = 37,
float_range = 38,
dimension = 39,
gamemode = 40,
time = 41,
resource_or_tag = 42,
resource_or_tag_key = 43,
resource = 44,
resource_key = 45,
template_mirror = 46,
template_rotation = 47,
heightmap = 48,
uuid = 49,
}Variants§
bool = 0
float = 1
double = 2
integer = 3
long = 4
string = 5
entity = 6
game_profile = 7
block_pos = 8
column_pos = 9
vec3 = 10
vec2 = 11
block_state = 12
block_predicate = 13
item_stack = 14
item_predicate = 15
color = 16
component = 17
style = 18
message = 19
nbt_compound_tag = 20
nbt_tag = 21
nbt_path = 22
objective = 23
objective_criteria = 24
operation = 25
particle = 26
angle = 27
rotation = 28
scoreboard_slot = 29
score_holder = 30
swizzle = 31
team = 32
item_slot = 33
resource_location = 34
function = 35
entity_anchor = 36
int_range = 37
float_range = 38
dimension = 39
gamemode = 40
time = 41
resource_or_tag = 42
resource_or_tag_key = 43
resource = 44
resource_key = 45
template_mirror = 46
template_rotation = 47
heightmap = 48
uuid = 49
Implementations§
Trait Implementations§
source§impl Clone for command_argument_type
impl Clone for command_argument_type
source§fn clone(&self) -> command_argument_type
fn clone(&self) -> command_argument_type
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§impl Debug for command_argument_type
impl Debug for command_argument_type
source§impl Display for command_argument_type
impl Display for command_argument_type
source§impl Hash for command_argument_type
impl Hash for command_argument_type
source§impl PartialEq for command_argument_type
impl PartialEq for command_argument_type
source§fn eq(&self, other: &command_argument_type) -> bool
fn eq(&self, other: &command_argument_type) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Write for command_argument_type
impl Write for command_argument_type
impl Copy for command_argument_type
impl Eq for command_argument_type
impl StructuralEq for command_argument_type
impl StructuralPartialEq for command_argument_type
Auto Trait Implementations§
impl RefUnwindSafe for command_argument_type
impl Send for command_argument_type
impl Sync for command_argument_type
impl Unpin for command_argument_type
impl UnwindSafe for command_argument_type
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