pub struct CriticalPoint {
pub position: isize,
pub kind: CriticalPointKind,
pub atoms: Box<[EncodedAtom]>,
}Expand description
Represents a critical point in the charge density topology.
§Fields
position: The 1D index of the voxel where this point is located.kind: The topological classification (Nuclei, Bond, Ring, Cage).atoms: The list of atoms associated with this point (e.g., the two atoms a bond connects).
Fields§
§position: isize§kind: CriticalPointKind§atoms: Box<[EncodedAtom]>Implementations§
Source§impl CriticalPoint
impl CriticalPoint
pub fn new( position: isize, kind: CriticalPointKind, atoms: Box<[EncodedAtom]>, ) -> Self
Trait Implementations§
Source§impl Clone for CriticalPoint
impl Clone for CriticalPoint
Source§fn clone(&self) -> CriticalPoint
fn clone(&self) -> CriticalPoint
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 CriticalPoint
impl RefUnwindSafe for CriticalPoint
impl Send for CriticalPoint
impl Sync for CriticalPoint
impl Unpin for CriticalPoint
impl UnsafeUnpin for CriticalPoint
impl UnwindSafe for CriticalPoint
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