nominal_api/conjure/objects/scout/compute/api/
bit_shift_left_function.rs1#[derive(
3 Debug,
4 Clone,
5 conjure_object::serde::Serialize,
6 conjure_object::serde::Deserialize,
7 PartialEq,
8 Eq,
9 PartialOrd,
10 Ord,
11 Hash,
12 Copy
13)]
14#[serde(crate = "conjure_object::serde")]
15#[conjure_object::private::staged_builder::staged_builder]
16#[builder(crate = conjure_object::private::staged_builder, update, inline)]
17pub struct BitShiftLeftFunction {
18 #[serde(rename = "operand")]
19 operand: i32,
20}
21impl BitShiftLeftFunction {
22 #[inline]
24 pub fn new(operand: i32) -> Self {
25 Self::builder().operand(operand).build()
26 }
27 #[inline]
28 pub fn operand(&self) -> i32 {
29 self.operand
30 }
31}