pub struct BondChunkRecord {
pub atom_a: AtomEndpoint,
pub atom_b: AtomEndpoint,
pub order: BondOrder,
pub provenance: BondProvenance,
pub kind: OptionalSymbol,
}Expand description
One bond projected from native storage with global atom endpoints.
Fields§
§atom_a: AtomEndpointFirst global atom endpoint.
atom_b: AtomEndpointSecond global atom endpoint.
order: BondOrderChemical order retained from the source.
provenance: BondProvenanceProvenance retained from the source.
kind: OptionalSymbolThe connection’s own classification, interned in the source dictionary.
A consumer that reads a bond across a chunk boundary must not lose the
distinction between coordination and covalent connectivity, so the class
travels with the record. Resolve it against
BondChunk::structure before comparing it to a class from another
structure, exactly as for the other interned fields.
Trait Implementations§
Source§impl Clone for BondChunkRecord
impl Clone for BondChunkRecord
impl Copy for BondChunkRecord
Source§impl Debug for BondChunkRecord
impl Debug for BondChunkRecord
impl Eq for BondChunkRecord
Source§impl PartialEq for BondChunkRecord
impl PartialEq for BondChunkRecord
impl StructuralPartialEq for BondChunkRecord
Auto Trait Implementations§
impl Freeze for BondChunkRecord
impl RefUnwindSafe for BondChunkRecord
impl Send for BondChunkRecord
impl Sync for BondChunkRecord
impl Unpin for BondChunkRecord
impl UnsafeUnpin for BondChunkRecord
impl UnwindSafe for BondChunkRecord
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.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