pub fn check_passable(&self) -> bool {

        self.passable &&
        if let None = self.contains {
            true
        } else {
            false
        }
    }
// checks the passability of a field
checks the passability of a field
checks the passability of a field
pub fn check_passable(&self) -> bool {
        self.passable &&
        if let None = self.contains {
            true
        } else {
            false
        }
    }
pub fn check_passable ( & self ) -> bool { self . passable && if let None = self . contains { true } else { false } }
checks the passability of a field
checks the passability of a field
&self
&self