pub enum AtomType {
Show 17 variants
CSp3,
CSp2Alkene,
CAromatic,
CCarbonyl,
NSp,
NSp2,
NAromatic,
NSp3,
OSp2,
OSp3,
OAromatic,
S,
SAromatic,
P,
H,
Halogen,
Other,
}Expand description
Atom type for torsion matching based on hybridization and neighbors.
Classifies atoms by element and hybridization state (sp, sp2, sp3, aromatic). Useful for matching chemical patterns and determining properties.
Variants§
CSp3
sp3 carbon
CSp2Alkene
sp2 carbon (alkene)
CAromatic
sp2 carbon (aromatic)
CCarbonyl
sp2 carbon (carbonyl/carboxylic)
NSp
sp nitrogen (nitrile/isocyanate)
NSp2
sp2 nitrogen (amide/imine)
NAromatic
sp2 nitrogen (aromatic)
NSp3
sp3 nitrogen (amine)
OSp2
sp2 oxygen (carbonyl)
OSp3
sp3 oxygen (ether/alcohol)
OAromatic
aromatic oxygen (furan, oxazole, isoxazole)
S
sulfur (thioether, sulfoxide, sulfone)
SAromatic
aromatic sulfur (thiophene, thiazole, thiadiazole)
P
phosphorus
H
hydrogen
Halogen
halogen
Other
other/unknown
Trait Implementations§
impl Copy for AtomType
impl Eq for AtomType
impl StructuralPartialEq for AtomType
Auto Trait Implementations§
impl Freeze for AtomType
impl RefUnwindSafe for AtomType
impl Send for AtomType
impl Sync for AtomType
impl Unpin for AtomType
impl UnsafeUnpin for AtomType
impl UnwindSafe for AtomType
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