pdbrust 0.7.0

A comprehensive Rust library for parsing and analyzing Protein Data Bank (PDB) files
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! CONECT record structure and implementations

/// Represents a CONECT record from a PDB file.
///
/// Specifies connectivity between atoms in the structure.
#[derive(Debug, Clone)]
pub struct Conect {
    /// Serial number of atom 1.
    pub atom1: i32,
    /// Serial number of atom 2.
    pub atom2: i32,
    /// Serial number of atom 3 (optional).
    pub atom3: Option<i32>,
    /// Serial number of atom 4 (optional).
    pub atom4: Option<i32>,
}