pub fn satisfied_constraints(self) -> impl Iterator<Item = Constraint> {
        iter::successors(
            Some(Constraint::RowNumber {
                row: self.row,
                value: self.value,
            }),
            move |cons| match cons {
                Constraint::RowNumber { .. } => Some(Constraint::ColumnNumber {
                    column: self.column,
                    value: self.value,
                }),
                Constraint::ColumnNumber { .. } => Some(Constraint::RowColumn {
                    row: self.row,
                    column: self.column,
                }),
                Constraint::RowColumn { .. } => None,
            },
        )
    }
/// Return an iterator over all `Constraint`s that are satisfied by this
/// `Possibility`.
Return an iterator over all `Constraint`s that are satisfied by this
`Possibility`.
Return an iterator over all ` Constraint ` s that are satisfied by this ` Possibility ` .
pub fn satisfied_constraints(self) -> impl Iterator<Item = Constraint> {
        iter::successors(
            Some(Constraint::RowNumber {
                row: self.row,
                value: self.value,
            }),
            move |cons| match cons {
                Constraint::RowNumber { .. } => Some(Constraint::ColumnNumber {
                    column: self.column,
                    value: self.value,
                }),
                Constraint::ColumnNumber { .. } => Some(Constraint::RowColumn {
                    row: self.row,
                    column: self.column,
                }),
                Constraint::RowColumn { .. } => None,
            },
        )
    }
pub fn satisfied_constraints ( self ) -> impl Iterator < Item = Constraint > { iter :: successors ( Some ( Constraint :: RowNumber { row : self . row , value : self . value , } ) , move | cons | match cons { Constraint :: RowNumber { .. } => Some ( Constraint :: ColumnNumber { column : self . column , value : self . value , } ) , Constraint :: ColumnNumber { .. } => Some ( Constraint :: RowColumn { row : self . row , column : self . column , } ) , Constraint :: RowColumn { .. } => None , } , ) }
Return an iterator over all `Constraint`s that are satisfied by this
`Possibility`.
Return an iterator over all ` Constraint ` s that are satisfied by this ` Possibility ` .
self
self