pub struct Bead {
pub x: f64,
pub y: f64,
pub z: f64,
pub charge: f64,
pub mass: f64,
pub res_name: String,
pub chain_id: String,
pub res_seq: i32,
pub bead_type: BeadType,
}Expand description
A coarse-grained bead with position and charge.
Fields§
§x: f64X coordinate in Ångströms.
y: f64Y coordinate in Ångströms.
z: f64Z coordinate in Ångströms.
charge: f64Partial charge in elementary charge units.
mass: f64Mass in Da (sum of constituent atom masses).
res_name: StringSource residue name (e.g., “ALA”, “ZN”).
chain_id: StringChain identifier.
res_seq: i32Residue sequence number.
bead_type: BeadTypeBead classification.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Bead
impl RefUnwindSafe for Bead
impl Send for Bead
impl Sync for Bead
impl Unpin for Bead
impl UnsafeUnpin for Bead
impl UnwindSafe for Bead
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