pub struct ExplicitBond {
pub i: usize,
pub j: usize,
pub image: [i32; 3],
pub order: f64,
pub remove: bool,
}Expand description
An explicit bond stored by the user.
Fields§
§i: usizeFirst atom index in the asymmetric unit or P1 cell.
j: usizeSecond atom index.
image: [i32; 3]Lattice image of j.
order: f64Bond order.
remove: boolWhen true, remove a perceived bond instead of adding one.
Trait Implementations§
Source§impl Clone for ExplicitBond
impl Clone for ExplicitBond
impl Copy for ExplicitBond
Source§impl Debug for ExplicitBond
impl Debug for ExplicitBond
Source§impl<'de> Deserialize<'de> for ExplicitBond
impl<'de> Deserialize<'de> for ExplicitBond
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ExplicitBond
impl PartialEq for ExplicitBond
Source§impl Serialize for ExplicitBond
impl Serialize for ExplicitBond
impl StructuralPartialEq for ExplicitBond
Auto Trait Implementations§
impl Forget for ExplicitBond
impl Freeze for ExplicitBond
impl Move for ExplicitBond
impl RefUnwindSafe for ExplicitBond
impl Send for ExplicitBond
impl Sync for ExplicitBond
impl Unpin for ExplicitBond
impl UnsafeUnpin for ExplicitBond
impl UnwindSafe for ExplicitBond
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more