pub struct AromaticityModel { /* private fields */ }Expand description
Aromaticity assignment for a molecule.
Records which atoms and bonds belong to aromatic rings according to the Hückel 4n+2 rule applied to SSSR rings.
Implementations§
Source§impl AromaticityModel
impl AromaticityModel
Sourcepub fn is_atom_aromatic(&self, idx: AtomIdx) -> bool
pub fn is_atom_aromatic(&self, idx: AtomIdx) -> bool
Whether atom idx is part of an aromatic ring.
Sourcepub fn is_bond_aromatic(&self, idx: BondIdx) -> bool
pub fn is_bond_aromatic(&self, idx: BondIdx) -> bool
Whether bond idx is part of an aromatic ring.
Sourcepub fn aromatic_atom_count(&self) -> usize
pub fn aromatic_atom_count(&self) -> usize
Total number of atoms flagged as aromatic.
Trait Implementations§
Source§impl Clone for AromaticityModel
impl Clone for AromaticityModel
Source§fn clone(&self) -> AromaticityModel
fn clone(&self) -> AromaticityModel
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for AromaticityModel
impl RefUnwindSafe for AromaticityModel
impl Send for AromaticityModel
impl Sync for AromaticityModel
impl Unpin for AromaticityModel
impl UnsafeUnpin for AromaticityModel
impl UnwindSafe for AromaticityModel
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