pub struct BlockInfo {
pub conjuncts: Range<usize>,
pub items: BlockItems,
}Expand description
What one constraint block contributed to a ConstraintSet; the data
constraint_mode(0) needs (LRM 18.9).
Fields§
§conjuncts: Range<usize>The block’s conjuncts, as a range of ConstraintSet::conjuncts
(empty for an extern prototype with no body, which is a constraint of
no effect). The implicit enum-domain conjuncts are not part of any
block.
items: BlockItemsWhat the block added besides conjuncts (a dist, a solve ... before,
a real constraint, a disable soft), which a call that has the block
switched off must leave out as well.
Trait Implementations§
impl Eq for BlockInfo
impl StructuralPartialEq for BlockInfo
Auto Trait Implementations§
impl Freeze for BlockInfo
impl RefUnwindSafe for BlockInfo
impl Send for BlockInfo
impl Sync for BlockInfo
impl Unpin for BlockInfo
impl UnsafeUnpin for BlockInfo
impl UnwindSafe for BlockInfo
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.