pub enum MolError {
InvalidAtomIdx(AtomIdx),
DuplicateBond(AtomIdx, AtomIdx),
}Expand description
Error types for molecule construction.
Variants§
InvalidAtomIdx(AtomIdx)
Atom index out of range.
DuplicateBond(AtomIdx, AtomIdx)
Duplicate bond between the same pair of atoms.
Trait Implementations§
impl Eq for MolError
impl StructuralPartialEq for MolError
Auto Trait Implementations§
impl Freeze for MolError
impl RefUnwindSafe for MolError
impl Send for MolError
impl Sync for MolError
impl Unpin for MolError
impl UnsafeUnpin for MolError
impl UnwindSafe for MolError
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