pub struct RunCondition { /* private fields */ }Expand description
A run condition for a common event
Implementations§
Source§impl RunCondition
impl RunCondition
pub const fn new(settings: u8, variable: u32, value: u32) -> Self
Sourcepub fn operator(&self) -> &CompareOperator
pub fn operator(&self) -> &CompareOperator
The operator used in the run condition
Sourcepub fn condition_type(&self) -> &ConditionType
pub fn condition_type(&self) -> &ConditionType
The type of the run condition
Trait Implementations§
Source§impl Clone for RunCondition
impl Clone for RunCondition
Source§fn clone(&self) -> RunCondition
fn clone(&self) -> RunCondition
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 PartialEq for RunCondition
impl PartialEq for RunCondition
impl StructuralPartialEq for RunCondition
Auto Trait Implementations§
impl Freeze for RunCondition
impl RefUnwindSafe for RunCondition
impl Send for RunCondition
impl Sync for RunCondition
impl Unpin for RunCondition
impl UnwindSafe for RunCondition
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