#[repr(C)]pub struct Relay_ChooseAwardeeData {
pub unit: Unit,
pub leaving_unit_data: RelayLeavingUnitData,
pub count: i32,
}Expand description
Fields§
§unit: Unit§leaving_unit_data: RelayLeavingUnitData§count: i32Implementations§
Source§impl Relay_ChooseAwardeeData
impl Relay_ChooseAwardeeData
Sourcepub fn compare_and_swap(
&mut self,
unit: impl Into<Unit>,
count: impl Into<i32>,
op: impl Into<RelayAwardData_CompareOp>,
)
pub fn compare_and_swap( &mut self, unit: impl Into<Unit>, count: impl Into<i32>, op: impl Into<RelayAwardData_CompareOp>, )
CompareAndSwap(crate::app::unit::Unit, i32, crate::app::relayawarddata::RelayAwardData_CompareOp) overload
Sourcepub fn compare_and_swap_2(
&mut self,
leaving_unit_data: impl Into<RelayLeavingUnitData>,
count: impl Into<i32>,
op: impl Into<RelayAwardData_CompareOp>,
)
pub fn compare_and_swap_2( &mut self, leaving_unit_data: impl Into<RelayLeavingUnitData>, count: impl Into<i32>, op: impl Into<RelayAwardData_CompareOp>, )
CompareAndSwap(crate::app::relayleavingunitdata::RelayLeavingUnitData, i32, crate::app::relayawarddata::RelayAwardData_CompareOp) overload
Sourcepub fn compare(
&mut self,
count: impl Into<i32>,
op: impl Into<RelayAwardData_CompareOp>,
) -> bool
pub fn compare( &mut self, count: impl Into<i32>, op: impl Into<RelayAwardData_CompareOp>, ) -> bool
Compare(i32, crate::app::relayawarddata::RelayAwardData_CompareOp) overload
Sourcepub fn compare_greater(&mut self, count: impl Into<i32>) -> bool
pub fn compare_greater(&mut self, count: impl Into<i32>) -> bool
CompareGreater(i32) overload
Sourcepub fn compare_less(&mut self, count: impl Into<i32>) -> bool
pub fn compare_less(&mut self, count: impl Into<i32>) -> bool
CompareLess(i32) overload
Sourcepub fn compare_zero(&mut self, count: impl Into<i32>) -> bool
pub fn compare_zero(&mut self, count: impl Into<i32>) -> bool
CompareZero(i32) overload
Source§impl Relay_ChooseAwardeeData
impl Relay_ChooseAwardeeData
pub fn compare_and_swap_method_info() -> &'static MethodInfo
pub fn compare_and_swap_2_method_info() -> &'static MethodInfo
pub fn compare_method_info() -> &'static MethodInfo
pub fn compare_greater_method_info() -> &'static MethodInfo
pub fn compare_less_method_info() -> &'static MethodInfo
pub fn compare_zero_method_info() -> &'static MethodInfo
pub fn is_random_method_info() -> &'static MethodInfo
pub fn is_valid_method_info() -> &'static MethodInfo
Trait Implementations§
Source§impl Clone for Relay_ChooseAwardeeData
impl Clone for Relay_ChooseAwardeeData
Source§fn clone(&self) -> Relay_ChooseAwardeeData
fn clone(&self) -> Relay_ChooseAwardeeData
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for Relay_ChooseAwardeeData
Auto Trait Implementations§
impl Freeze for Relay_ChooseAwardeeData
impl RefUnwindSafe for Relay_ChooseAwardeeData
impl !Send for Relay_ChooseAwardeeData
impl !Sync for Relay_ChooseAwardeeData
impl Unpin for Relay_ChooseAwardeeData
impl UnwindSafe for Relay_ChooseAwardeeData
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)