Struct flatzinc::constraints::ConstraintItem
source · pub struct ConstraintItem {
pub id: String,
pub exprs: Vec<Expr>,
pub annos: Vec<Annotation>,
}
Fields§
§id: String
§exprs: Vec<Expr>
§annos: Vec<Annotation>
Trait Implementations§
source§impl Clone for ConstraintItem
impl Clone for ConstraintItem
source§fn clone(&self) -> ConstraintItem
fn clone(&self) -> ConstraintItem
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 ConstraintItem
impl Debug for ConstraintItem
source§impl PartialEq for ConstraintItem
impl PartialEq for ConstraintItem
source§fn eq(&self, other: &ConstraintItem) -> bool
fn eq(&self, other: &ConstraintItem) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ConstraintItem
Auto Trait Implementations§
impl Freeze for ConstraintItem
impl RefUnwindSafe for ConstraintItem
impl Send for ConstraintItem
impl Sync for ConstraintItem
impl Unpin for ConstraintItem
impl UnwindSafe for ConstraintItem
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