pub struct BondOptions {
pub cutoff: f64,
pub oxygen: i32,
pub hydrogen: i32,
pub distance: f64,
pub angle: f64,
}Expand description
Knobs for a hydrogen-bond count.
let options = seams::BondOptions::default();
assert_eq!(options.distance, 2.42);
assert_eq!(options.angle, 30.0);Fields§
§cutoff: f64Heavy-atom cutoff, angstroms.
oxygen: i32Heavy-atom species. Zero keeps every non-hydrogen.
hydrogen: i32Hydrogen species. Must be positive.
distance: f64Acceptor-H distance, angstroms.
angle: f64O-O-H angle, degrees.
Trait Implementations§
Source§impl Clone for BondOptions
impl Clone for BondOptions
impl Copy for BondOptions
Source§impl Debug for BondOptions
impl Debug for BondOptions
Source§impl Default for BondOptions
impl Default for BondOptions
Source§impl PartialEq for BondOptions
impl PartialEq for BondOptions
impl StructuralPartialEq for BondOptions
Auto Trait Implementations§
impl Freeze for BondOptions
impl RefUnwindSafe for BondOptions
impl Send for BondOptions
impl Sync for BondOptions
impl Unpin for BondOptions
impl UnsafeUnpin for BondOptions
impl UnwindSafe for BondOptions
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