pub struct CompositeConstraint {
pub base_constraint: Box<Constraint>,
pub operation: Vec<(SetOperator, Box<Constraint>)>,
pub extensible: bool,
}
Fields§
§base_constraint: Box<Constraint>
§operation: Vec<(SetOperator, Box<Constraint>)>
§extensible: bool
Trait Implementations§
source§impl Clone for CompositeConstraint
impl Clone for CompositeConstraint
source§fn clone(&self) -> CompositeConstraint
fn clone(&self) -> CompositeConstraint
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 CompositeConstraint
impl Debug for CompositeConstraint
source§impl From<(Constraint, Vec<(SetOperator, Constraint)>, Option<ExtensionMarker>)> for CompositeConstraint
impl From<(Constraint, Vec<(SetOperator, Constraint)>, Option<ExtensionMarker>)> for CompositeConstraint
source§fn from(
value: (Constraint, Vec<(SetOperator, Constraint)>, Option<ExtensionMarker>)
) -> Self
fn from( value: (Constraint, Vec<(SetOperator, Constraint)>, Option<ExtensionMarker>) ) -> Self
Converts to this type from the input type.
source§impl PartialEq for CompositeConstraint
impl PartialEq for CompositeConstraint
source§fn eq(&self, other: &CompositeConstraint) -> bool
fn eq(&self, other: &CompositeConstraint) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CompositeConstraint
Auto Trait Implementations§
impl RefUnwindSafe for CompositeConstraint
impl Send for CompositeConstraint
impl Sync for CompositeConstraint
impl Unpin for CompositeConstraint
impl UnwindSafe for CompositeConstraint
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