pub fn satisfies(&self, constraint: &Constraint) -> bool {
        use Constraint::*;

        match constraint {
            RowNumber { row, value } => self.row == *row && self.value == *value,
            ColumnNumber { column, value } => self.column == *column && self.value == *value,
            RowColumn { row, column } => self.row == *row && self.column == *column,
        }
    }
/// Return true if this `Possibility` satisfies the given `Constraint`.
Return true if this `Possibility` satisfies the given `Constraint`.
Return true if this ` Possibility ` satisfies the given ` Constraint ` .
pub fn satisfies(&self, constraint: &Constraint) -> bool {
        use Constraint::*;
        match constraint {
            RowNumber { row, value } => self.row == *row && self.value == *value,
            ColumnNumber { column, value } => self.column == *column && self.value == *value,
            RowColumn { row, column } => self.row == *row && self.column == *column,
        }
    }
pub fn satisfies ( & self , constraint : & Constraint ) -> bool { use Constraint :: * ; match constraint { RowNumber { row , value } => self . row == * row && self . value == * value , ColumnNumber { column , value } => self . column == * column && self . value == * value , RowColumn { row , column } => self . row == * row && self . column == * column , } }
Return true if this `Possibility` satisfies the given `Constraint`.
Return true if this ` Possibility ` satisfies the given ` Constraint ` .
&self
constraint
&Constraint
&self
constraint
&Constraint