ptx_parser/type/instruction/
vote.rs1#![allow(unused)]
8use crate::r#type::common::*;
9
10pub mod section_0 {
11 use crate::Spanned;
12 use crate::parser::Span;
13 use crate::r#type::common::*;
14
15 use serde::Serialize;
16
17 #[derive(Debug, Clone, PartialEq, Serialize)]
18 pub enum Mode {
19 All, Any, Uni, }
23
24 #[derive(Debug, Clone, PartialEq, Spanned, Serialize)]
25 pub struct VoteModePred {
26 pub mode: Mode, pub pred: (), pub d: GeneralOperand, pub a_op: bool, pub a: GeneralOperand, pub span: Span,
32 }
33
34 #[derive(Debug, Clone, PartialEq, Spanned, Serialize)]
35 pub struct VoteBallotB32 {
36 pub ballot: (), pub b32: (), pub d: GeneralOperand, pub a_op: bool, pub a: GeneralOperand, pub span: Span,
42 }
43}
44
45pub use section_0::Mode as Mode0;
48pub use section_0::VoteBallotB32;
49pub use section_0::VoteModePred;