pub struct ConditionHolder {
pub contents: ConditionHolderContents,
}
Fields§
§contents: ConditionHolderContents
Implementations§
source§impl ConditionHolder
impl ConditionHolder
pub fn new() -> Self
pub fn new_with_condition(condition: Condition) -> Self
pub fn is_empty(&self) -> bool
pub fn is_one(&self) -> bool
pub fn add_and_or(&mut self, condition: LogicalChainOper)
pub fn add_condition(&mut self, addition: Condition)
Trait Implementations§
source§impl Clone for ConditionHolder
impl Clone for ConditionHolder
source§fn clone(&self) -> ConditionHolder
fn clone(&self) -> ConditionHolder
Returns a copy 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 ConditionHolder
impl Debug for ConditionHolder
source§impl Default for ConditionHolder
impl Default for ConditionHolder
source§fn default() -> ConditionHolder
fn default() -> ConditionHolder
Returns the “default value” for a type. Read more
source§impl PartialEq for ConditionHolder
impl PartialEq for ConditionHolder
impl StructuralPartialEq for ConditionHolder
Auto Trait Implementations§
impl Freeze for ConditionHolder
impl !RefUnwindSafe for ConditionHolder
impl Send for ConditionHolder
impl Sync for ConditionHolder
impl Unpin for ConditionHolder
impl !UnwindSafe for ConditionHolder
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)