Skip to main content

CovalentRadius

Trait CovalentRadius 

Source
pub trait CovalentRadius {
    // Required method
    fn cordero_covalent_radius(&self) -> Option<f64>;
}
Expand description

Source-specific covalent radii for chemical elements.

Returned values are in angstrom.

Required Methods§

Source

fn cordero_covalent_radius(&self) -> Option<f64>

Returns the Cordero single-bond covalent radius, if available.

Values are returned in angstrom.

Conventions used for this scalar API:

  • carbon uses the sp3 value from the source table
  • manganese, iron, and cobalt use the low-spin value
§Examples
use elements_rs::{CovalentRadius, Element};

assert_eq!(Element::C.cordero_covalent_radius(), Some(0.76));
assert_eq!(Element::Mn.cordero_covalent_radius(), Some(1.39));
assert_eq!(Element::Bk.cordero_covalent_radius(), None);

Implementors§