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
impl StructuralPartialEq for CompositeConstraint
Auto Trait Implementations§
impl Freeze for CompositeConstraint
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
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
)