[][src]Function purr::valence::hypovalence

pub fn hypovalence(atom: &Atom) -> Result<Option<u8>, Error>

Returns the difference between the next-nearest target valence and the bond order sum. Returns None if valence targets are not defined. Includes hcount, but disregards aromatic flag. Returns error if target valences are available but none match.