pub enum NmrNucleus {
Show 85 variants
H1,
H2,
H3,
He3,
Li6,
Li7,
Be9,
B10,
B11,
C13,
N14,
N15,
O17,
F19,
Na23,
Mg25,
Al27,
Si29,
P31,
S33,
Cl35,
Cl37,
K39,
K40,
K41,
Ca43,
Sc45,
Ti47,
Ti49,
V50,
V51,
Cr53,
Fe57,
Co59,
Ni61,
Cu63,
Cu65,
Zn67,
Ga69,
Ga71,
Ge73,
As75,
Se77,
Br79,
Br81,
Rb85,
Rb87,
Sr87,
Zr91,
Nb93,
Mo95,
Mo97,
Ru99,
Ru101,
Rh103,
Pd105,
Ag107,
Ag109,
Cd111,
Cd113,
In113,
In115,
Sn115,
Sn117,
Sn119,
Sb121,
Sb123,
Te123,
Te125,
I127,
Xe129,
Xe131,
Cs133,
Ba135,
Ba137,
W183,
Pt195,
Au197,
Hg199,
Hg201,
Tl203,
Tl205,
Pb207,
Bi209,
Mn55,
}Variants§
H1
H2
H3
He3
Li6
Li7
Be9
B10
B11
C13
N14
N15
O17
F19
Na23
Mg25
Al27
Si29
P31
S33
Cl35
Cl37
K39
K40
K41
Ca43
Sc45
Ti47
Ti49
V50
V51
Cr53
Fe57
Co59
Ni61
Cu63
Cu65
Zn67
Ga69
Ga71
Ge73
As75
Se77
Br79
Br81
Rb85
Rb87
Sr87
Zr91
Nb93
Mo95
Mo97
Ru99
Ru101
Rh103
Pd105
Ag107
Ag109
Cd111
Cd113
In113
In115
Sn115
Sn117
Sn119
Sb121
Sb123
Te123
Te125
I127
Xe129
Xe131
Cs133
Ba135
Ba137
W183
Pt195
Au197
Hg199
Hg201
Tl203
Tl205
Pb207
Bi209
Mn55
Implementations§
Source§impl NmrNucleus
impl NmrNucleus
pub const ALL: [NmrNucleus; 85]
pub fn parse(alias: &str) -> Result<Self, String>
pub fn supported_labels() -> Vec<&'static str>
pub fn atomic_number(self) -> u8
pub fn mass_number(self) -> u16
pub fn canonical(self) -> &'static str
pub fn unicode_label(self) -> &'static str
pub fn element_symbol(self) -> &'static str
pub fn is_primary_target(self) -> bool
pub fn is_quadrupolar(self) -> bool
pub fn default_for_element(atomic_number: u8) -> Option<Self>
pub fn default_frequency_mhz(self) -> f64
pub fn default_fwhm_hz(self) -> f64
pub fn empirical_range(self) -> (f64, f64)
pub fn empirical_center(self) -> f64
pub fn reference_shielding(self) -> f64
pub fn free_atom_diamagnetic(self) -> f64
Trait Implementations§
Source§impl Clone for NmrNucleus
impl Clone for NmrNucleus
Source§fn clone(&self) -> NmrNucleus
fn clone(&self) -> NmrNucleus
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for NmrNucleus
impl Debug for NmrNucleus
Source§impl<'de> Deserialize<'de> for NmrNucleus
impl<'de> Deserialize<'de> for NmrNucleus
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for NmrNucleus
impl Hash for NmrNucleus
Source§impl Ord for NmrNucleus
impl Ord for NmrNucleus
Source§fn cmp(&self, other: &NmrNucleus) -> Ordering
fn cmp(&self, other: &NmrNucleus) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for NmrNucleus
impl PartialEq for NmrNucleus
Source§impl PartialOrd for NmrNucleus
impl PartialOrd for NmrNucleus
Source§impl Serialize for NmrNucleus
impl Serialize for NmrNucleus
impl Copy for NmrNucleus
impl Eq for NmrNucleus
impl StructuralPartialEq for NmrNucleus
Auto Trait Implementations§
impl Freeze for NmrNucleus
impl RefUnwindSafe for NmrNucleus
impl Send for NmrNucleus
impl Sync for NmrNucleus
impl Unpin for NmrNucleus
impl UnsafeUnpin for NmrNucleus
impl UnwindSafe for NmrNucleus
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.