#[repr(u32)]pub enum OperandType {
Show 136 variants
ALL_INVALID = 0,
cpu_rs = 1,
cpu_rt = 2,
cpu_rd = 3,
cpu_sa = 4,
cpu_zero = 5,
cpu_cop0d = 6,
cpu_fs = 7,
cpu_ft = 8,
cpu_fd = 9,
cpu_cop1cs = 10,
cpu_cop2t = 11,
cpu_cop2cd = 12,
cpu_op = 13,
cpu_hint = 14,
cpu_code = 15,
cpu_code_lower = 16,
cpu_copraw = 17,
cpu_label = 18,
cpu_immediate = 19,
cpu_branch_target_label = 20,
cpu_immediate_base = 21,
cpu_maybe_rd_rs = 22,
rsp_rs = 23,
rsp_rt = 24,
rsp_rd = 25,
rsp_cop0d = 26,
rsp_cop2t = 27,
rsp_cop2cd = 28,
rsp_vs = 29,
rsp_vt = 30,
rsp_vd = 31,
rsp_hint = 32,
rsp_vt_elementhigh = 33,
rsp_vt_elementlow = 34,
rsp_vd_de = 35,
rsp_vs_index = 36,
rsp_offset_rs = 37,
rsp_immediate_base = 38,
rsp_maybe_rd_rs = 39,
r3000gte_gbg = 40,
r3000gte_sf = 41,
r3000gte_mx = 42,
r3000gte_v = 43,
r3000gte_cv = 44,
r3000gte_lm = 45,
r4000allegrex_s_vs = 46,
r4000allegrex_s_vt = 47,
r4000allegrex_s_vd = 48,
r4000allegrex_s_vt_imm = 49,
r4000allegrex_s_vd_imm = 50,
r4000allegrex_p_vs = 51,
r4000allegrex_p_vt = 52,
r4000allegrex_p_vd = 53,
r4000allegrex_t_vs = 54,
r4000allegrex_t_vt = 55,
r4000allegrex_t_vd = 56,
r4000allegrex_q_vs = 57,
r4000allegrex_q_vt = 58,
r4000allegrex_q_vd = 59,
r4000allegrex_q_vt_imm = 60,
r4000allegrex_mp_vs = 61,
r4000allegrex_mp_vt = 62,
r4000allegrex_mp_vd = 63,
r4000allegrex_mp_vs_transpose = 64,
r4000allegrex_mt_vs = 65,
r4000allegrex_mt_vt = 66,
r4000allegrex_mt_vd = 67,
r4000allegrex_mt_vs_transpose = 68,
r4000allegrex_mq_vs = 69,
r4000allegrex_mq_vt = 70,
r4000allegrex_mq_vd = 71,
r4000allegrex_mq_vs_transpose = 72,
r4000allegrex_cop2cs = 73,
r4000allegrex_cop2cd = 74,
r4000allegrex_pos = 75,
r4000allegrex_size = 76,
r4000allegrex_size_plus_pos = 77,
r4000allegrex_imm3 = 78,
r4000allegrex_offset14_base = 79,
r4000allegrex_offset14_base_maybe_wb = 80,
r4000allegrex_vcmp_cond = 81,
r4000allegrex_vcmp_cond_s_maybe_vs_maybe_vt = 82,
r4000allegrex_vcmp_cond_p_maybe_vs_maybe_vt = 83,
r4000allegrex_vcmp_cond_t_maybe_vs_maybe_vt = 84,
r4000allegrex_vcmp_cond_q_maybe_vs_maybe_vt = 85,
r4000allegrex_vconstant = 86,
r4000allegrex_power_of_two = 87,
r4000allegrex_vfpu_cc_bit = 88,
r4000allegrex_bn = 89,
r4000allegrex_int16 = 90,
r4000allegrex_float16 = 91,
r4000allegrex_p_vrot_code = 92,
r4000allegrex_t_vrot_code = 93,
r4000allegrex_q_vrot_code = 94,
r4000allegrex_rpx = 95,
r4000allegrex_rpy = 96,
r4000allegrex_rpz = 97,
r4000allegrex_rpw = 98,
r4000allegrex_wpx = 99,
r4000allegrex_wpy = 100,
r4000allegrex_wpz = 101,
r4000allegrex_wpw = 102,
r5900_I = 103,
r5900_Q = 104,
r5900_R = 105,
r5900_ACC = 106,
r5900_ACCxyzw = 107,
r5900_vfs = 108,
r5900_vft = 109,
r5900_vfd = 110,
r5900_vfsxyzw = 111,
r5900_vftxyzw = 112,
r5900_vfdxyzw = 113,
r5900_vfsn = 114,
r5900_vftn = 115,
r5900_vfdn = 116,
r5900_vfsl = 117,
r5900_vftl = 118,
r5900_vfdl = 119,
r5900_vfsm = 120,
r5900_vftm = 121,
r5900_vfdm = 122,
r5900_vis = 123,
r5900_vit = 124,
r5900_vid = 125,
r5900_vis_predecr = 126,
r5900_vit_predecr = 127,
r5900_vid_predecr = 128,
r5900_vis_postincr = 129,
r5900_vit_postincr = 130,
r5900_vid_postincr = 131,
r5900_vis_parenthesis = 132,
r5900_immediate5 = 133,
r5900_immediate15 = 134,
ALL_MAX = 135,
}Variants§
ALL_INVALID = 0
cpu_rs = 1
cpu_rt = 2
cpu_rd = 3
cpu_sa = 4
cpu_zero = 5
cpu_cop0d = 6
cpu_fs = 7
cpu_ft = 8
cpu_fd = 9
cpu_cop1cs = 10
cpu_cop2t = 11
cpu_cop2cd = 12
cpu_op = 13
cpu_hint = 14
cpu_code = 15
cpu_code_lower = 16
cpu_copraw = 17
cpu_label = 18
cpu_immediate = 19
cpu_branch_target_label = 20
cpu_immediate_base = 21
cpu_maybe_rd_rs = 22
rsp_rs = 23
rsp_rt = 24
rsp_rd = 25
rsp_cop0d = 26
rsp_cop2t = 27
rsp_cop2cd = 28
rsp_vs = 29
rsp_vt = 30
rsp_vd = 31
rsp_hint = 32
rsp_vt_elementhigh = 33
rsp_vt_elementlow = 34
rsp_vd_de = 35
rsp_vs_index = 36
rsp_offset_rs = 37
rsp_immediate_base = 38
rsp_maybe_rd_rs = 39
r3000gte_gbg = 40
r3000gte_sf = 41
r3000gte_mx = 42
r3000gte_v = 43
r3000gte_cv = 44
r3000gte_lm = 45
r4000allegrex_s_vs = 46
r4000allegrex_s_vt = 47
r4000allegrex_s_vd = 48
r4000allegrex_s_vt_imm = 49
r4000allegrex_s_vd_imm = 50
r4000allegrex_p_vs = 51
r4000allegrex_p_vt = 52
r4000allegrex_p_vd = 53
r4000allegrex_t_vs = 54
r4000allegrex_t_vt = 55
r4000allegrex_t_vd = 56
r4000allegrex_q_vs = 57
r4000allegrex_q_vt = 58
r4000allegrex_q_vd = 59
r4000allegrex_q_vt_imm = 60
r4000allegrex_mp_vs = 61
r4000allegrex_mp_vt = 62
r4000allegrex_mp_vd = 63
r4000allegrex_mp_vs_transpose = 64
r4000allegrex_mt_vs = 65
r4000allegrex_mt_vt = 66
r4000allegrex_mt_vd = 67
r4000allegrex_mt_vs_transpose = 68
r4000allegrex_mq_vs = 69
r4000allegrex_mq_vt = 70
r4000allegrex_mq_vd = 71
r4000allegrex_mq_vs_transpose = 72
r4000allegrex_cop2cs = 73
r4000allegrex_cop2cd = 74
r4000allegrex_pos = 75
r4000allegrex_size = 76
r4000allegrex_size_plus_pos = 77
r4000allegrex_imm3 = 78
r4000allegrex_offset14_base = 79
r4000allegrex_offset14_base_maybe_wb = 80
r4000allegrex_vcmp_cond = 81
r4000allegrex_vcmp_cond_s_maybe_vs_maybe_vt = 82
r4000allegrex_vcmp_cond_p_maybe_vs_maybe_vt = 83
r4000allegrex_vcmp_cond_t_maybe_vs_maybe_vt = 84
r4000allegrex_vcmp_cond_q_maybe_vs_maybe_vt = 85
r4000allegrex_vconstant = 86
r4000allegrex_power_of_two = 87
r4000allegrex_vfpu_cc_bit = 88
r4000allegrex_bn = 89
r4000allegrex_int16 = 90
r4000allegrex_float16 = 91
r4000allegrex_p_vrot_code = 92
r4000allegrex_t_vrot_code = 93
r4000allegrex_q_vrot_code = 94
r4000allegrex_rpx = 95
r4000allegrex_rpy = 96
r4000allegrex_rpz = 97
r4000allegrex_rpw = 98
r4000allegrex_wpx = 99
r4000allegrex_wpy = 100
r4000allegrex_wpz = 101
r4000allegrex_wpw = 102
r5900_I = 103
r5900_Q = 104
r5900_R = 105
r5900_ACC = 106
r5900_ACCxyzw = 107
r5900_vfs = 108
r5900_vft = 109
r5900_vfd = 110
r5900_vfsxyzw = 111
r5900_vftxyzw = 112
r5900_vfdxyzw = 113
r5900_vfsn = 114
r5900_vftn = 115
r5900_vfdn = 116
r5900_vfsl = 117
r5900_vftl = 118
r5900_vfdl = 119
r5900_vfsm = 120
r5900_vftm = 121
r5900_vfdm = 122
r5900_vis = 123
r5900_vit = 124
r5900_vid = 125
r5900_vis_predecr = 126
r5900_vit_predecr = 127
r5900_vid_predecr = 128
r5900_vis_postincr = 129
r5900_vit_postincr = 130
r5900_vid_postincr = 131
r5900_vis_parenthesis = 132
r5900_immediate5 = 133
r5900_immediate15 = 134
ALL_MAX = 135
Implementations§
Source§impl OperandType
impl OperandType
pub fn disassemble( &self, instr: &Instruction, imm_override: Option<&str>, ) -> String
Trait Implementations§
Source§impl Clone for OperandType
impl Clone for OperandType
Source§fn clone(&self) -> OperandType
fn clone(&self) -> OperandType
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 OperandType
impl Debug for OperandType
Source§impl Hash for OperandType
impl Hash for OperandType
Source§impl PartialEq for OperandType
impl PartialEq for OperandType
impl Copy for OperandType
impl Eq for OperandType
impl StructuralPartialEq for OperandType
Auto Trait Implementations§
impl Freeze for OperandType
impl RefUnwindSafe for OperandType
impl Send for OperandType
impl Sync for OperandType
impl Unpin for OperandType
impl UnwindSafe for OperandType
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